Skip to content

Commit

Permalink
Added documentation for new instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Nafees10 committed Dec 25, 2019
1 parent 400986b commit f01f6a2
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,16 @@ Pops reference to array `r1`, then pops an array _(not reference)_. Then does `*
#### Data type conversion
* _`IntToDouble`_
Pops an integer from stack. Pushes a double with same value.
* _`DoubleToInt`_
* _`IntToString`_
Pops an integer from stack. Pushes a string representation of it.
* _`DoubleToInt`_
Pops a double from stack. Pushes integer part of it (as a integer) to stack.
* _`DoubleToString`_
Pops a double from stack. Pushes string representation of it.
* _`StringToInt`_
Pops a string, reads integer from it, pushes the integer.
* _`StringToDouble`_
Pops a string, reads a double from it, pushes the double.

#### Misc.
* _`ReturnVal`_
Expand Down

0 comments on commit f01f6a2

Please sign in to comment.