Add a test for wait instruction (not yet implemented).

This commit is contained in:
Eric Anholt 2006-09-01 11:55:22 -07:00 committed by Damien Lespiau
parent d1b8791928
commit 055be60abf
4 changed files with 6 additions and 0 deletions

View File

@ -12,4 +12,5 @@ jmpi
if if
iff iff
while while
wait
immediate immediate

View File

@ -14,6 +14,7 @@ TESTS = \
if \ if \
iff \ iff \
while \ while \
wait \
immediate immediate
# Tests that are expected to fail because they contain some inccorect code. # Tests that are expected to fail because they contain some inccorect code.
@ -47,6 +48,8 @@ TESTDATA = \
iff.g4a \ iff.g4a \
while.expected \ while.expected \
while.g4a \ while.g4a \
wait.expected \
wait.g4a \
immediate.g4a \ immediate.g4a \
immediate.expected immediate.expected

View File

@ -0,0 +1 @@
{ 0x00000030, 0x20000000, 0x00001200, 0x00010000 },

1
assembler/test/wait.g4a Normal file
View File

@ -0,0 +1 @@
wait n0;