Skip to content

Commit a3ca20f

Browse files
U-UC\harvey1U-UC\harvey1
authored andcommitted
Updated README
1 parent b9424af commit a3ca20f

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ AS4
66

77
AS4 is the low level assembler on written in C99 for the Nibble Knowledge CPU. It is under 700 lines of executable code, and recognises only 12 contructs:
88

9+
## Useage ###
10+
There are only two invocations of as4:
11+
./as4 -b BASE_ADDRESS INPUT OUTPUT
12+
./as4 INPUT OUTPUT
13+
14+
Where INPUT is your assembly language text file, OUTPUT is your binary file output, and BASE_ADDRESS is the numerical value (in hex, octal, decimal or binary) of the base address for compilation where all memory addresses are calculated relative to.
15+
916
### 8 instructions ###
1017
The Nibble Knowledge CPU has 8 instructions which are split into two different types:
1118
* Solitary instructions that do not require a memory address (has the format INST)

0 commit comments

Comments
 (0)