From: Vladimir Stefanovic Date: Tue, 20 Dec 2016 17:24:40 +0000 (+0100) Subject: doc: add mips, mips64 information to asm.html X-Git-Tag: go1.8rc1~71 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=6e87f8896106c9a673c3c049c83ef389178cef82;p=gostls13.git doc: add mips, mips64 information to asm.html Fixes #18105 Change-Id: Id56e8782ff618761ec44b6dc20891c8b48fea8df Reviewed-on: https://go-review.googlesource.com/34632 Reviewed-by: Rob Pike --- diff --git a/doc/asm.html b/doc/asm.html index 3e03c548fd..79dc7df322 100644 --- a/doc/asm.html +++ b/doc/asm.html @@ -838,6 +838,44 @@ It is a scaled mode as on the x86, but the only scale allowed is 1. +

MIPS, MIPS64

+ +

+General purpose registers are named R0 through R31, +floating point registers are F0 through F31. +

+ +

+R30 is reserved to point to g. +R23 is used as a temporary register. +

+ +

+In a TEXT directive, the frame size $-4 for MIPS or +$-8 for MIPS64 instructs the linker not to save LR. +

+ +

+SP refers to the virtual stack pointer. +For the hardware register, use R29. +

+ +

+Addressing modes: +

+ + +

Unsupported opcodes