mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-31 09:11:13 +00:00
e44f1db6e6
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10187 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
236 B
Smalltalk
10 lines
236 B
Smalltalk
#
|
|
# OVER test
|
|
#
|
|
FORWARD success;
|
|
FORWARD failure;
|
|
: phase4 0 = IF success ELSE failure ENDIF ;
|
|
: phase3 2 = IF phase4 ELSE failure ENDIF ;
|
|
: phase2 1 = IF phase3 ELSE failure ENDIF ;
|
|
: MAIN 0 2 1 OVER 2 = IF phase2 ELSE failure ENDIF ;
|