Broader register initialization coverage (#21)

This commit is contained in:
Hikaru Ikuta 2022-01-04 04:13:47 +09:00 committed by GitHub
parent 32dfd00780
commit 194181a709
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View file

@ -51,13 +51,13 @@ begin: mov $0x8000,%sp # uses higher address as stack
pop %ss # errata exists but don't care
mov $2,%bx
main: mov %sp,%cx
mov $'\r',%al
call PutChar # Call first to initialize %dx
call GetToken
call GetObject
call Eval
xchg %ax,%si
call PrintObject
mov $'\r',%al
call PutChar
jmp main
GetToken: # GetToken():al, dl is g_look