RCISC

From Illogicopedia
Jump to navigation Jump to search

The Really Complex Instruction Set Computer (RCISC) is a type of CPU which is so advanced that it only requires a few instructions to make Solitaire, as shown below.

Example code[edit | edit source]

INTERRUPT OpenWindow
BITCHIFZ ptrAA
MOV ptrAB,Cards
MOV valBA,52
MAKETABLEAU ptrAB,_CPU_KLONDIKE
PLAYCARDS
ASPLODE
 
Cards:
DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00