Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .altmacro
- .macro jump_table name init last
- j \name\()_\init
- .if \last > \init
- jump_table \name, %(\init+1), \last
- .endif
- .endm
- jump_table jump 0 2
- ==>
- 0000000000000000 <jump_0-0x18>:
- 0: 00000013 nop
- 4: 00000013 nop
- 8: 00000013 nop
- c: 00c0006f j 18 <jump_0>
- 10: 0080006f j 18 <jump_0>
- 14: 0040006f j 18 <jump_0>
- 0000000000000018 <jump_0>:
- 18: 00000013 nop
- 1c: 00000013 nop
Advertisement
Add Comment
Please, Sign In to add comment