From f01f6a23605a31ac2061601c3f2cee0f9abc1a12 Mon Sep 17 00:00:00 2001 From: Nafees10 Date: Wed, 25 Dec 2019 21:12:24 +0500 Subject: [PATCH] Added documentation for new instructions --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1c8da07..a971562 100644 --- a/README.md +++ b/README.md @@ -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`_