STARTPROG
VARIABLES
VAR IX 0
VAR ACC 0
POSITION 365 1
POSITION 366 3
POSITION 367 65
POSITION 368 66
STARTLINE 200
ENDVARIABLES
# main code starts here
LDD 365 # this is line 200 according to our STARTLINE variable and relative addressing
CMP 366
JPE 209
INC ACC
STO 365
MOV IX
LDX 365
OUT
JMP 200
END
ENDPROG
-
Notifications
You must be signed in to change notification settings - Fork 0
A toy language to solve caie A-levels Assembly table questions
License
Ali-TM-original/laos
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A toy language to solve caie A-levels Assembly table questions
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published