Closed franck44 closed 10 months ago
At the moment we only generate the sequence of instructions like so:
PUSH1 0x0a PUSH1 0x08 PUSH1 0x03 SWAP1 PUSH1 0x0f JUMP
There are references to address in the code (e.g. 0x0f is a target of a JUMP) and to identify the target we need to generate the addresses the instructions are stored at. Ideally we would like to get something like:
0x0f
JUMP
00000000: PUSH1 0x0a 00000002: PUSH1 0x08 00000004: PUSH1 0x03 00000006: SWAP1 00000007: PUSH1 0x0f 00000009: JUMP
At the moment we only generate the sequence of instructions like so:
There are references to address in the code (e.g.
0x0f
is a target of aJUMP
) and to identify the target we need to generate the addresses the instructions are stored at. Ideally we would like to get something like: