Specifications
Operation: (src) + (dst)
Condition Codes: Set on the byte result as in MOV
Description: Same as MOV instruction. The MOVB instruction in register mode
(unique among byte operations) extends the most significant bit of the byte
register (sign extension). Otherwise MOVB operates on bytes exactly as MOV
operates on words.
Coware Byte
CMPS src,dst 2.3us*
src
dst
‘I I 12 -I 1 I I 1
1 I I , I
t5 12 H 6 5 0
Operation: (src) - (dst)
; in detail (src) + - (dst) + 1
Condition Codes: Set on the byte result as in CMP
Description: Same as CMP instruction.
811 Set Byte
BISB src,dst
2.3~
SW
dst
t1 ,s,-
I I I I I
I I I I
I5 12 11 6 5
0
Operation: (src) V (dst) + (dst)
Condition Codes: Set on the byte result as in BIS
Description: Same as ,BIS.
,
Bll CIm3r Byte
BICB crc .dat
2.31~
SK dst
114, ,
I I I I
I I
I I
t5
12 H
6 5
0
Operation: - (src) (dst) i, (dst)
Condition Codes: set on the byte result as in BIC
Description: Same as BIC.
Bit Tart Byte BIT6 m,drt
2.31~~
UC
41 , 3, I I I
drt
1
I
I I I I
t5 12 11
6 5 0
Operation: (src)
(dst)
Condition Codes: Set on the byte result as in BIT
Description: Same as BIT.
The following subroutine scans a packed character string of variable length
lines, removes blanks and unpacks the string to left-justified length lines.
INSTRING is the address of the INput STRING, OUTSTRING is the address
of,the OUTput String. EOLCHAR. SPCHAR.‘and EORCHAR are the End Of
Line CHARacter, Space CHARacter, and End of Record CHARacter respec-
tively.
* See the note for the CMP instruction.
37
\