Skip to content

Commit

Permalink
asm32: Add tests for out
Browse files Browse the repository at this point in the history
  • Loading branch information
meithecatte committed Mar 12, 2023
1 parent dbb276e commit 0ed218a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions files/asmtest.fth
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,13 @@ t{ in al $69 # #-> E4 69 }t
t{ in ax $69 # #-> E5 69 }t
t{ in eax $69 # #-> 66 E5 69 }t

t{ out dx al #-> EE }t
t{ out dx ax #-> EF }t
t{ out dx eax #-> 66 EF }t
t{ out $69 # al #-> E6 69 }t
t{ out $69 # ax #-> E7 69 }t
t{ out $69 # eax #-> 66 E7 69 }t

32bit on
t{ in al dx #-> EC }t
t{ in ax dx #-> 66 ED }t
Expand All @@ -171,5 +178,12 @@ t{ in al $69 # #-> E4 69 }t
t{ in ax $69 # #-> 66 E5 69 }t
t{ in eax $69 # #-> E5 69 }t

t{ out dx al #-> EE }t
t{ out dx ax #-> 66 EF }t
t{ out dx eax #-> EF }t
t{ out $69 # al #-> E6 69 }t
t{ out $69 # ax #-> 66 E7 69 }t
t{ out $69 # eax #-> E7 69 }t

' c, is db
previous

0 comments on commit 0ed218a

Please sign in to comment.