String Manipulation - IBM 5150 Technical Reference

Hide thumbs Also See for 5150:
Table of Contents

Advertisement

TEST
= And function to flags, no result
Register/memory and register
1 0 0 0 0
1 0
W
I
mod
reg
rIm
Immediate data and register/memory
1 1 1
1 0
1 1
W
I
mod 0 0 0 rIm
data
data if
W=
1
Immediate data and accumulator
1 0 1 0 1 0 0 W
I
data
data if
W
=
1
OR
=
Or
Register/memory and register to either
o
0 0 0
1 0 d w
I
mod
reg
rIm
Immediate to register/memory
1 0 0 0 0 0 0 w
I
mod 0 0
1 rIm
data
data if
W=
1
Immediate to accumulator
0 0 0 0 1
1 0 w
I
data
data if
W=
1
XOR = Exclusive or
Register /memory and register to either
o
0
1 1 0 0 d w
I
mod
reg
rIm
Immediate to register/memory
1 0 0 0 0 0 0 w
I
mod
1 1 0 rIm
data
data if
W=
1
Immediate to accumulator
0 0 1 1 0 1 0 w
data
data if
W=
1
REP = Repeat
1 1 1 1 0 0 1 z
String Manipulation
MOVS
=
Move String
1 0 1 0 0 1 0 w
CMPS
=
Compare String
1 0 1 0 0 1 1 w
SCAS = Scan String
1 0 1 0 1 1 1 w
Instruction Set 6-11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents