Mercurial > pub > dyncall > dyncall
comparison doc/disas_examples/sparc64.sparc64.disas @ 331:74c056b597b7
- disassembly example annotations
- callconv appendix in doc:
* ppc64 chapter
* some cleanups for consistency
author | Tassilo Philipp |
---|---|
date | Sat, 23 Nov 2019 13:51:35 +0100 |
parents | c0390dc85a07 |
children | c9e19249ecd3 |
comparison
equal
deleted
inserted
replaced
330:4e6f63b7020e | 331:74c056b597b7 |
---|---|
497 88: 84 00 60 04 add %g1, 4, %g2 ; point read ptr in g2 to first unnamed param (int) | 497 88: 84 00 60 04 add %g1, 4, %g2 ; point read ptr in g2 to first unnamed param (int) |
498 8c: c4 00 80 00 ld [ %g2 ], %g2 ; in arg 6 (fetched from prev frame's stack param area), ... | 498 8c: c4 00 80 00 ld [ %g2 ], %g2 ; in arg 6 (fetched from prev frame's stack param area), ... |
499 90: c4 27 a7 fb st %g2, [ %fp + 0x7fb ] ; ... copied to local space (0x7fb - bias = -4) helper var (probably int g) | 499 90: c4 27 a7 fb st %g2, [ %fp + 0x7fb ] ; ... copied to local space (0x7fb - bias = -4) helper var (probably int g) |
500 94: 82 00 60 08 add %g1, 8, %g1 ; point read ptr in g1 to second unnamed param (float, promoted to double), ... | 500 94: 82 00 60 08 add %g1, 8, %g1 ; point read ptr in g1 to second unnamed param (float, promoted to double), ... |
501 98: c2 77 a7 e7 stx %g1, [ %fp + 0x7e7 ] ; ... store in local space (0x7fb - bias = -24) | 501 98: c2 77 a7 e7 stx %g1, [ %fp + 0x7e7 ] ; ... store in local space (0x7fb - bias = -24) |
502 9c: 91 d0 20 05 ta 5 ; trap - not sure what else is involved (objdump was made from .o, not finally linked exec) | 502 9c: 91 d0 20 05 ta 5 ; trap - not sure what else is involved (objdump was made from .o, not finally linked exec) - maybe just b/c objdump skipped this for the output? |
503 | 503 |
504 00000000000000a0 <main>: | 504 00000000000000a0 <main>: |
505 a0: 9d e3 bf 30 save %sp, -208, %sp ; prolog | 505 a0: 9d e3 bf 30 save %sp, -208, %sp ; prolog |
506 a4: 03 00 00 00 sethi %hi(0), %g1 ; | | 506 a4: 03 00 00 00 sethi %hi(0), %g1 ; | |
507 a8: 82 10 60 00 mov %g1, %g1 ! 0 <leaf_call> ; | | 507 a8: 82 10 60 00 mov %g1, %g1 ! 0 <leaf_call> ; | |