The IMemoryBlock interface represents a memory block. A block consist of a start address and some byte data. Here are an example of two memory blocks generated by the assembler:
*=$1000 "Block 1" .byte 1,2,3 *=$2000 "Block 2" lda #1 sta $d020 rts
It can either be passed as argument to the plugin or created by the plugin and returned as a result. Use the 'createMemoryBlock' in the IEngine interface to create new memory blocks.
Table 17.3. IMemoryBlock Interface
Method | Description |
---|---|
int getStartAddress() | The start address of the memory block. |
byte[] getBytes() | The assembled bytes of the memory block. |
String getName(); | The name of the memory block. |