From 86210c451369114ad70e60096841cc10e6f91df9 Mon Sep 17 00:00:00 2001 From: Irmen de Jong Date: Wed, 1 Feb 2023 20:58:40 +0100 Subject: [PATCH] clarification --- docs/source/programming.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/programming.rst b/docs/source/programming.rst index 02eb1caa7..86b40731f 100644 --- a/docs/source/programming.rst +++ b/docs/source/programming.rst @@ -760,7 +760,8 @@ Math ^^^^ abs(x) - Absolute value of an integer. For floating point numbers, use ``floats.fabs()`` instead. + Absolute value of an integer. Value returned is an unsigned word. + For floating point numbers, use ``floats.fabs()`` instead. sgn(x) Get the sign of the value. Result is -1, 0 or 1 (negative, zero, positive). @@ -837,8 +838,7 @@ pokew(address, value) writes the word value at the given address in memory, in usual little-endian lsb/msb byte order. pokemon(address, value) - Attempts to write a byte to a ROM at a location in machine language monitor bank. - Doesn't have anything to do with a certain video game. + Doesn't do anything useful. Also doesn't have anything to do with a certain video game. push(value) pushes a byte value on the CPU hardware stack. Low-level function that should normally not be used.