checkpoint
This commit is contained in:
parent
dadc137833
commit
3856635345
7 changed files with 241 additions and 35 deletions
17
ass3/zbirnik/parsing/test.asm
Normal file
17
ass3/zbirnik/parsing/test.asm
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
PRG START 300
|
||||
LDA #bytes_len
|
||||
DIV #3
|
||||
LDA bytes_len
|
||||
LDB #tab
|
||||
BASE #tab
|
||||
NOBASE
|
||||
HALT J HALT
|
||||
END PRG
|
||||
|
||||
tab0 RESB 2
|
||||
tab WORD 1
|
||||
WORD 2
|
||||
WORD 3
|
||||
test EQU *
|
||||
bytes_len EQU test - tab
|
||||
tab2 WORD 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue