Comparison; Arithmetic - IBM 5150 Technical Reference

Hide thumbs Also See for 5150:
Table of Contents

Advertisement

Comparison
FCOM
=
Compare
Integer/Real Memory to ST(O)
Escape
MF
0
mod 0 1 0 rim
disp-Iow
disp-high
~
ST(i) to ST(O)
Escape
0
0
0
1 1 0 1
o
ST(i)
FCOMP ==
Compare and Pop
Integer/Real Memory to ST(O)
I.
Escape
MF
0
mod 0 1 1 rim
disp-Iow
disp-high
ST(i) to ST(O)
Escape
0
0
0
1 1 0 1 1 ST(i)
FCOMPP
=
Compare ST(1) to ST(O) and Pop twice
Escape
1
1
0
1 1 1 0 1 1 0 0 1
FTST
== Test ST(O)
Escape
0
0
1
1
1
1001001
FXAM ==
Examine ST(O)
Escape
0
0
1
1
1
00101
Arithmetic
FADD ==
Addition
Integer/Real Memory with ST(O)
Escape
MF
0
mod 0 0 0 rim
disp-Iow
disp-high
ST(i) to ST(O)
Escape
d
P 0
1 1 0 0 0 ST(i)
FSUB
== Subtraction
Integer/Real Memory with ST(O)
Escape
MF
0
mod 1 0 R rim
disp-Iow
disp-high
ST(i) to ST(O)
Escape
d
P 0
1 1 1 0 R rim
Instruction Set 6-19

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents