romtests.json updated
This commit is contained in:
parent
17523bfbe8
commit
3ce78f23ed
18 changed files with 3991 additions and 3794 deletions
|
|
@ -1,4 +1,7 @@
|
|||
all: tests.rom
|
||||
all: tests.json
|
||||
|
||||
tests.rom: tests.nasm
|
||||
nasm -f bin tests.nasm -l tests.lst -o tests.rom
|
||||
|
||||
tests.json: tests.rom
|
||||
node ../../../modules/filedump/bin/filedump --file=tests.rom --output=tests.json
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@
|
|||
|
||||
bits 16
|
||||
|
||||
start: mov eax,0x11223344
|
||||
mov edx,0x55667788
|
||||
start: mov eax,0x44332211
|
||||
mov edx,0x88776655
|
||||
shrd eax,edx,4
|
||||
|
||||
times 0xfff0-($-$$) db 0
|
||||
times 0xfff0-($-$$) db 0x90 ; NOP
|
||||
|
||||
bits 16
|
||||
jmp 0xf000:start
|
||||
|
||||
db ' 04/04/15'
|
||||
db 0xFC ; 0000FFFE FC (Model ID byte)
|
||||
db 0x00 ; 0000FFFF 00 (location of checksum byte)
|
||||
|
|
|
|||
Loading…
Reference in a new issue