HP 48gII Advanced User's Reference Manual page 512

Graphing calculator
Hide thumbs Also See for 48gII:
Table of Contents

Advertisement

Operation
Assembler
Copy and shift
MOV{cond}{S} Rd, <Oprnd>
Not
MVN{cond}{S} Rd, <Oprnd>
Add
ADD{cond}{S} Rd, Rn, <Oprnd>
Add w carry
ADC{cond}{S} Rd, Rn, <Oprnd>
Sub
SUB{cond}{S} Rd, Rn, <Oprnd>
Sub w carry
SBC{cond}{S} Rd, Rn, <Oprnd>
Reverse Sub
RSB{cond}{S} Rd, Rn, <Oprnd>
Rev sub w carry
RSC{cond}{S} Rd, Rn, <Oprnd>
Multiply
MUL{cond}{S} Rd, Rm, Rs
Multiply Add
MLA{cond}{S} Rd, Rm, Rs, Rn
Compare
CMP{cond} Rd, <Oprnd>
Cmp Negative
CMN{cond} Rd, <Oprnd>
Test
TST{cond} Rn, <Oprnd>
Tst equivalence
TEQ{cond} Rn, <Oprnd>
And
AND{cond}{S} Rd, Rn, <Oprnd>
Xor
EOR{cond}{S} Rd, Rn, <Oprnd>
XOR{cond}{S} Rd, Rn, <Oprnd>
Or
ORR{cond}{S} Rd, Rn, <Oprnd>
BitClear (ÑAnd)
BIC{cond}{S} Rd, Rn, <Oprnd>
Branch
B{cond} label
Gosub
BL{cond} label
Load Int
LDR{cond} Rd, <a_mode>
LDR{cond} Rd, Label
Load Byte
LDR{cond}B Rd, <a_mode>
LDRB{cond} Rd, Label
Multiple load
Inc Before
LDM{cond}IB Rd{!}, {reg list}
Inc After
LDM{cond}IA Rd{!}, {reg list}
Dec Before
LDM{cond}DB Rd{!}, {reg list}
Dec After
LDM{cond}DA Rd{!}, {reg list}
Store Int
STR{cond} Rd, <a_mode>
STR{cond} Rd, Label
Store Byte
STRB{cond} Rd, <a_mode>
STRB{cond} Rd, Label
Multiple Store
Inc Before
STM{cond}IB Rd{!}, {reg list}
Inc After
STM{cond}IA Rd{!}, {reg list}
De Before
STM{cond}DB Rd{!}, {reg list}
De After
STM{cond}DA Rd{!}, {reg list}
multiplication
MUL rd, r1 r2
MLA rd, r1, r2, r3
SMULL rd1, rd2, r1, r2
SMLAL rd1, rd2, r1, r2
UMULL rd1, rd2, r1, r2
UMLAL rd1, rd2, r1, r2
*labelName
$
", ¢
6-26 The Development Library
Action
d:= <Oprnd>
d:= ~<Oprnd>
d:= Rn + <Oprnd>
d:= Rn + <Oprnd> + Carry
d:= Rn - <Oprnd>
d:= Rn - <Oprnd> - Not(Carry)
d:= <Oprnd> - Rn
d:= <Oprnd> - Rn – Not(Carry)
d:= Rm * Rs
d:= (Rm * Rs) + Rn
flags:= Rn - <Oprnd>
flags:= Rn + <Oprnd>
flags:= Rn And <Oprnd>
flags:= Rn Xor <Oprnd>
Rd:= Rn And <Oprnd>
Rd:= Rn Xor <Oprnd>
Rd:= Rn Xor <Oprnd>
Rd:= Rn Or <Oprnd>
Rd:= Rn And Not <Oprnd>
R15/PC:= address
R14:=R15/PC, R15/PC:= address
Rd:= [address]
Rd:= data at label. The label address is calculated
relative to the PC. This does not work with
constants
Rd:= [byte at address] 0 extended
Rd:= data at label. The label address is calculated
relative to the PC. This does not work with
constants
Stack operations (Pop)
! sets the W bit (updates the base
register after the transfer)
[address]:= Rd
data at label:= Rd. The label address is calculated
relative to the PC. This does not work with
constants
[address]:= byte value from Rd
data at label:= Rd. The label address is calculated
relative to the PC. This does not work with
constants
Stack operations (Push)
! Sets the W bit (updates the base
register after the transfer
rd=r1*r2
rd=r1*r2+r3
Signed mul rd1=low r1*r2, rd2=high r1*r2
Signed mul add rd1+=low r1*r2, rd2+=high r1*r2
rd1=low r1*r2, rd2=high r1*r2
mul add rd1+=low r1*r2, rd2+=high r1*r2
Creates a label
See $ in ASM mode
See ASM mode
S flags
NZCR
NZCR
NZCVR
NZCVR
NZCVR
NZCVR
NZCVR
NZCVR
NZR
NZR
NZCV
NZCV
NZC
NZC
NZC
NZC
NZC
NZC
NZC

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

49g+

Table of Contents