Difference between revisions of "83Plus:BCALLs:406C"
From WikiTI
m (linked op2) |
|||
(One intermediate revision by the same user not shown) | |||
Line 12: | Line 12: | ||
=== Outputs === | === Outputs === | ||
* OP1 = OP1 - 1 | * OP1 = OP1 - 1 | ||
− | * OP2 = floating point 1 | + | * [[83Plus:RAM:8483|OP2]] = floating point value of 1 |
=== Registers Destroyed === | === Registers Destroyed === | ||
Line 19: | Line 19: | ||
== Example == | == Example == | ||
<nowiki>B_CALL OP1Set3 ;OP1=floating point 3 | <nowiki>B_CALL OP1Set3 ;OP1=floating point 3 | ||
− | B_CALL Minus1 ;returns with OP1=floating point 2 | + | B_CALL Minus1 ;returns with OP1=floating point 2</nowiki> |
− | </nowiki> | + |
Latest revision as of 14:21, 27 March 2006
Synopsis
Official Name: Minus1
BCALL Address: 406C
Decrements the floating point number in OP1 by one.
Inputs
- OP1 = floating point number
Outputs
- OP1 = OP1 - 1
- OP2 = floating point value of 1
Registers Destroyed
- AF, BC, DE, HL
Example
B_CALL OP1Set3 ;OP1=floating point 3 B_CALL Minus1 ;returns with OP1=floating point 2