Szerkesztő:Tenorista/demo

A Wikipédiából, a szabad enciklopédiából

Tenorista*Mail-Vita 2008. június 19., 00:24 (CEST)

Whitespace section[szerkesztés]

This page is extremly GFDL. That means it can be inserted into en:Whitespace (programming language) page


Command type Instruction Modification Parameter Command Meaning Parameter
Stack Space Space Push the number onto the stack number
LF Space Duplicate the top item on the stack -
LF Tab Swap the two item on the stack -
LF LF Discard the top item on the stack -
Arithmetic Tab Space Space Space addition -
Space Tab Substraction -
Space LF Multiplication -
Tab Space Integer division -
Tab Tab Modulo -
Heap Tab Tab Space Store -
Tab Retrieve -
Flow Control LF Space Space Mark a location Label label
Space Tab Call subroutine label
Space LF Jump unconditionally label
Tab Space Jump if top of the stack is Zero label
Tab Tab Jump if top of the stack is Negative label
Tab LF Return from subroutine -
LF LF END the program -
I/O Tab| LF Space Space Ourput a character at the top of the stack -
Space Tab Output a number at the top of the stack -
Tab Space Read a character and place it the location given at the top of the stack -
Tab Tab Read a number and place it the location given at the top of the stack -


Number representation
Space 0
Tab 1
LF enf of number