Skip to content

I/O

ReadChar

The ReadChar command reads a character from the input and writes it to a provided heap address.

Syntax

CommandUnobsfucated
Nospace‌‍‌​ZWNJ, ZWJ, ZWNJ, ZWSP
Whitespace Tab, Newline, Tab, Space
NossemblyReadChar-

Parameters

The ReadChar command takes no parameters

Stack parameters

  • Int - the heap address to write the character to.

Example

​​​‌​‌‍‌‍‌​

ReadInt

The ReadInt command reads an integer from the input and writes it to a provided heap address.

Syntax

CommandUnobsfucated
Nospace‌‍‌‌ZWNJ, ZWJ, ZWNJ, ZWNJ
Whitespace Tab, Newline, Tab, Tab
NossemblyReadInt-

Parameters

The ReadInt command takes no parameters

Stack parameters

  • Int - the heap address to write the integer to.

Example

​​​‌​‌‍‌‍‌‌

WriteChar

The WriteChar command writes the Char at the top of the stack to the program output.

Syntax

CommandUnobsfucated
Nospace‌‍​​ZWNJ, ZWJ, ZWSP, ZWSP
Whitespace Tab, Newline, Space, Space
NossemblyWriteChar-

Parameters

The WriteChar command takes no parameters

Stack parameters

  • Char - the character to output.

Example

​​​‌​​‌​​​‍⁠​​‌‍‌‍​​​​​‌‌​‌​​‌‍⁠​​‌‍‌‍​​

WriteInt

The WriteInt command writes the Int at the top of the stack to the program output.

Syntax

CommandUnobsfucated
Nospace‌‍​‌ZWNJ, ZWJ, ZWSP, ZWNJ
Whitespace Tab, Newline, Space, Tab
NossemblyWriteInt-

Parameters

The WriteInt command takes no parameters

Stack parameters

  • Int - the integer to output.

Example

​​​‌​‌​‍‌‍​‌