Logo
Explore Help
Register Sign In
code/avo
1
0
Fork 0
You've already forked avo
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
475a2414465eeb0c77a798d61ee5332c77116218
avo/examples/add/add.s

12 lines
253 B
ArmAsm
Raw Normal View History

printer: add generated code warnings
2018-12-18 22:57:26 -08:00
// Code generated by command: go run asm.go -out add.s -stubs stub.go. DO NOT EDIT.
printing: commit some refactors (probably broken)
2018-12-11 00:18:22 -08:00
build: add attributes argument to TEXT Brings the TEXT() function signature closer to how the directive works in assembly. Also update almost all examples to use NOSPLIT. Closes #11
2019-01-06 20:04:51 -08:00
#include "textflag.h"
printing: commit some refactors (probably broken)
2018-12-11 00:18:22 -08:00
// func Add(x uint64, y uint64) uint64
build: add attributes argument to TEXT Brings the TEXT() function signature closer to how the directive works in assembly. Also update almost all examples to use NOSPLIT. Closes #11
2019-01-06 20:04:51 -08:00
TEXT ·Add(SB), NOSPLIT, $0-24
operand: include '+0' in named symbol references Intended to address an asmdecl error. [amd64] Butterfly: use of unnamed argument 0(FP); offset 0 is x0+0(FP) Updates #24
2019-01-13 11:59:14 -08:00
MOVQ x+0(FP), AX
printer: use tabwriter to align instructions (#8)
2019-01-10 21:21:41 -08:00
MOVQ y+8(FP), CX
ADDQ AX, CX
MOVQ CX, ret+16(FP)
printer: cleaner output
2018-12-18 21:05:05 -08:00
RET
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 307ms Template: 7ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API