mirror of
https://github.com/zellyn/go6502.git
synced 2025-04-10 22:37:08 +00:00
Add plan to asm.org
This commit is contained in:
parent
c7308bf05c
commit
cab917364e
14
asm/asm.org
14
asm/asm.org
@ -125,3 +125,17 @@ http://twimgs.com/informationweek/byte/archive/Apple-II-Description/The-Apple-II
|
||||
* Horrible error messages
|
||||
** redbooka
|
||||
CPY $#0 COMMENT TEXT
|
||||
|
||||
* The plan
|
||||
- Make instructions simple data.
|
||||
- Make the first pass do almost everything: pass two just sees data variants.
|
||||
|
||||
It's a bit tricky:
|
||||
|
||||
1. Parse instruction.
|
||||
1. Set the org/target immediately, updating current address.
|
||||
2. Set the current label.
|
||||
3. Force equates to evaluate immediately.
|
||||
4. Evaluate instructions.
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user