You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+34Lines changed: 34 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,40 @@ The Nibble Knowledge CPU has 8 instructions which are split into two different t
27
27
* LOD: Load the accumulator with the nibble at the specified address.
28
28
* STR: Store the nibble in the accumulator to the specified memory address.
29
29
30
+
31
+
### Pseudo instructions ###
32
+
To aid in disassembly a new metadata format for binary files is now included in the assembler as of v1.1.0.
33
+
* INF - the information section must start with this, and this should be the first instruction of any file.
34
+
* PINF - the start of the executable information section. Any unknown tuples within the executable information section are treated as pseudo instructions with a data field.
35
+
* BADR - The base address of the binary file. Must be in the executable data section.
36
+
* EPINF - the end of the executable information section.
37
+
* DSEC - the memory location of the data section which should succeed the text section. Should be a label so that it is modified by the base address and can be reliably disassembled. If there is no data section, this should point to the end of the file.
38
+
* Data section descriptors:
39
+
* DNUM - the amount of data sections of the following size
40
+
* DSIZE - the size
41
+
* There should be as many DNUM/DSIZE pairs as there are unique groups of data sections. The example below is illustrative. These pairs must be in the same order as the data sections themselves.
0 commit comments