From 0ed218a969d4e7939172ba1d4784b03b2d27fbb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maja=20K=C4=85dzio=C5=82ka?= Date: Sun, 12 Mar 2023 03:57:54 +0100 Subject: [PATCH] asm32: Add tests for out --- files/asmtest.fth | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/files/asmtest.fth b/files/asmtest.fth index 515d8f0..4b8578b 100644 --- a/files/asmtest.fth +++ b/files/asmtest.fth @@ -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 @@ -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