mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Checkin tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10187 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
14
projects/Stacker/test/tuck2.st
Normal file
14
projects/Stacker/test/tuck2.st
Normal file
@@ -0,0 +1,14 @@
|
||||
#
|
||||
# TUCK2 test
|
||||
#
|
||||
# Logic: // w1 w2 w3 w4 -- w3 w4 w1 w2 w3 w4
|
||||
#
|
||||
FORWARD success;
|
||||
FORWARD failure;
|
||||
: try_0 0 = IF success ELSE failure ENDIF ;
|
||||
: try_3b 3 = IF try_0 ELSE failure ENDIF ;
|
||||
: try_4 4 = IF try_3b ELSE failure ENDIF ;
|
||||
: try_1 1 = IF try_4 ELSE failure ENDIF ;
|
||||
: try_2 2 = IF try_1 ELSE failure ENDIF ;
|
||||
: try_3a 3 = IF try_2 ELSE failure ENDIF ;
|
||||
: MAIN 0 1 2 3 4 TUCK2 4 = IF try_3a ELSE failure ENDIF ;
|
Reference in New Issue
Block a user