mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-27 15:58:06 +11:00
zasm: can now assemble zasm/expr.asm!
This commit is contained in:
parent
6cbce0533a
commit
78d9764005
@ -53,7 +53,7 @@ _resolveLeftAndRight:
|
|||||||
; Now we have parsed everything to the left and we have its result in
|
; Now we have parsed everything to the left and we have its result in
|
||||||
; IX. What we need to do now is the same thing on (DE) and then apply
|
; IX. What we need to do now is the same thing on (DE) and then apply
|
||||||
; the + operator. Let's save IX somewhere and parse this.
|
; the + operator. Let's save IX somewhere and parse this.
|
||||||
ex hl, de ; right expr now in HL
|
ex de, hl ; right expr now in HL
|
||||||
push ix
|
push ix
|
||||||
pop de ; numeric left expr result in DE
|
pop de ; numeric left expr result in DE
|
||||||
jp parseExpr
|
jp parseExpr
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
.equ DIREC_RAMSTART TOK_RAMEND
|
.equ DIREC_RAMSTART TOK_RAMEND
|
||||||
#include "zasm/directive.asm"
|
#include "zasm/directive.asm"
|
||||||
#include "zasm/instr.asm"
|
#include "zasm/instr.asm"
|
||||||
|
#include "zasm/expr.asm"
|
||||||
|
|
||||||
zasmIsFirstPass:
|
zasmIsFirstPass:
|
||||||
nop
|
nop
|
||||||
@ -32,6 +33,3 @@ zasmIsFirstPass:
|
|||||||
zasmIsLocalPass:
|
zasmIsLocalPass:
|
||||||
nop
|
nop
|
||||||
|
|
||||||
parseExpr:
|
|
||||||
nop
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user