diff --git a/tests/asm/decode/unaligned-1.S b/tests/asm/decode/unaligned-1.S index b04ad56..21dca0f 100644 --- a/tests/asm/decode/unaligned-1.S +++ b/tests/asm/decode/unaligned-1.S @@ -1,10 +1,16 @@ #include "common.S" +#if __LCC__ < 120 .text .global _start .balign 8 .byte 0 _start: nop - #include "test_end.S" +#else +#include "test_start.S" + skip_test +#include "test_end.S" +#endif + diff --git a/tests/asm/decode/unaligned-2.S b/tests/asm/decode/unaligned-2.S index 2d7f848..cbf37b5 100644 --- a/tests/asm/decode/unaligned-2.S +++ b/tests/asm/decode/unaligned-2.S @@ -1,5 +1,6 @@ #include "test_start.S" +#if __LCC__ < 120 ibranch 1f 0: @@ -9,3 +10,7 @@ .byte 0 1: ibranch 0b +#else + skip_test +#include "test_end.S" +#endif diff --git a/tests/asm/decode/unaligned-3.S b/tests/asm/decode/unaligned-3.S index 6be3eb2..e4dd37b 100644 --- a/tests/asm/decode/unaligned-3.S +++ b/tests/asm/decode/unaligned-3.S @@ -1,8 +1,8 @@ #include "test_start.S" +#if __LCC__ < 120 disp %ctpr1, 1f ct %ctpr1 -0: #include "test_end.S" @@ -10,3 +10,7 @@ .byte 0 1: ibranch 0b +#else + skip_test +#include "test_end.S" +#endif diff --git a/tests/asm/decode/unaligned-4.S b/tests/asm/decode/unaligned-4.S index cd47d7f..490a778 100644 --- a/tests/asm/decode/unaligned-4.S +++ b/tests/asm/decode/unaligned-4.S @@ -1,5 +1,6 @@ #include "test_start.S" +#if __LCC__ < 120 { setwd wsz=4, nfx=1 disp %ctpr1, 1f @@ -13,3 +14,7 @@ 1: return %ctpr3 ct %ctpr3 +#else + skip_test +#include "test_end.S" +#endif