clarification

This commit is contained in:
Irmen de Jong 2023-02-01 20:58:40 +01:00
parent e08da659e5
commit 86210c4513

View File

@ -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.