Alignment is now 2; low bit is still IMMEDIATE
This commit is contained in:
parent
4cac45c0d2
commit
9f4546e465
2
Makefile
2
Makefile
|
@ -7,5 +7,5 @@ all: nforth
|
|||
clean:
|
||||
rm -f *.lst *~ *#
|
||||
|
||||
nforth: macros.asm nforth.asm nforth.f
|
||||
nforth: macros.asm nforth.asm nforth.f config.asm
|
||||
./build nforth
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
MEMSIZE = $20000
|
||||
CFG_PRINT_SYMTAB = 1
|
||||
CFG_DEBUG = 10
|
||||
CFG_DEBUG = 0
|
||||
|
||||
|
||||
|
|
|
@ -428,7 +428,8 @@ HEAD output,$+4
|
|||
DSTACK
|
||||
.loop:
|
||||
xor edx,edx
|
||||
div ebx
|
||||
div ecx
|
||||
|
||||
push edx ;push digit
|
||||
inc ebx ;count it
|
||||
test eax,eax
|
||||
|
@ -611,7 +612,7 @@ HEAD ERXIT,$+4
|
|||
|
||||
HEAD gettype,$+4 ;entry--type
|
||||
movzx ebx,word[ebx-8]
|
||||
and ebx,3
|
||||
and ebx,ALIGN_NONCE
|
||||
NEXT
|
||||
;;-------------------------------------------------------------------
|
||||
;; ' [srcword]
|
||||
|
|
Loading…
Reference in New Issue