mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10187 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
207 B
Smalltalk
10 lines
207 B
Smalltalk
#
|
|
# PICK test
|
|
#
|
|
# Logic: // x0 ... Xn n -- x0 ... Xn x0
|
|
#
|
|
FORWARD success;
|
|
FORWARD failure;
|
|
: next 10 = IF success ELSE failure ENDIF ;
|
|
: MAIN 0 1 2 3 4 5 6 7 8 9 10 5 PICK 5 = IF next ELSE failure ENDIF ;
|