mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-20 11:29:24 +00:00
10 lines
192 B
Smalltalk
10 lines
192 B
Smalltalk
|
|
||
|
#
|
||
|
# DUP test
|
||
|
#
|
||
|
FORWARD success;
|
||
|
FORWARD failure;
|
||
|
: phase3 0 = IF success ELSE failure ENDIF ;
|
||
|
: phase2 2 = IF phase3 ELSE failure ENDIF ;
|
||
|
: MAIN 0 1 2 SWAP 1 = IF phase2 ELSE failure ENDIF ;
|