Download Print this page

IBM 4300 Manual page 254

Processors principles of operation for ecps: vse mode
Hide thumbs Also See for 4300:

Advertisement

Appendix A. Number Representation and
Instruction-Use Examples
Contents
Number Representation
A-2
Binary Integers
A-2
Signed Binary Integers
A-2
Unsigned Binary Integers
A-3
Decimal Integers
A-3
Floating-Point Numbers
A-4
Conversion Example
A-5
Instruction-Use Examples
A-5
Machine Format
A-5
Assembler-Language Format
A-5
General Instructions
A-6
ADD HALFWORD (AH)
A-6
AND (N, NR, NI, NC)
A-6
And (NI)
A-6
BRANCH AND LINK (BAL, BALR)
BRANCH ON CONDITION (BC, BCR)
BRANCH ON COUNT (BeT, BCTR)
BRANCH ON INDEX HIGH (BXH)
BRANCH ON INDEX LOW OR EQUAL
(BXLE)
A-9
COMPARE HALFWORD (CH)
A-9
A-7
A-7
A-7
A-8
COMPARE LOGICAL (CL, CLC, CLI, CLR)
A-9
Compare Logicat (CLC)
A-9
Compare Logical'
(eLI)
A-9
Compare LogicaL(CLR)
A-IO
COMPARE. LOGICAL CHARACTERS UNDER MASK
(CLM)
A-IO
COMPARE LOGICAL LONG (CLCL)
A-IO
CONVERT TO BINARY (CVB)
A-12
CONVERT TO. DECIMAL. (CVD)
A-12
DIVIDE (D, DR)
A-12
EXCLUSIVE OR (X, XC, XI, XR)
A-13
Exclusive Or (XC)
A-13
Exclusive Or (XI)
A-14
EXECUTE (EX)
A-14
INSERT CHARACTERS UNDER MASK
OCM)
A-15
LOAD (L, LR)
A-15
LOAD ADDRESS (LA)
A-16
LOAD HALFWORD (LH)
A-16
MOVE (MVC, MVI)
A-16
Move (MVC)
A-16
Move (MVI)
A-17
MOVE LONG (MVCL)
A-17
MOVE NUMERICS (MVN)
A-18
MOVE WITH OFFSET (MVO)
A-18
MOVE ZONES (MVZ)
A-19
MULTIPLY (M, MR)
A-19
MULTIPLY HALFWORD (MH)
A-20
OR
(0,
OR,
01,
OC)
A-20
Or
(01)
A-20
PACK (PACK)
A-20
SHIFT LEFT DOUBLE (SLDA)
SHIFT LEFT SINGLE (SLA)
A-2I
A-2I
STORE CHARACTERS UNDER MASK
(STCM)
A-2I
STORE MULTIPLE (STM)
A-22
TEST UNDER MASK (TM)
A-22
TRANSLATE (TR)
A-22
TRANSLATE AND TEST (TRT)
A-23
UNPACK (UNPK)
A-25
Decimal Instructions
A-25
ADD DECIMAL (AP)
A-25
COMPARE DECIMAL (CP)
A-26
DIVIDE DECIMAL (DP)
A-26
EDIT (ED)
A-26
EDIT AND MARK (EDMK)
A-27
MULTIPLY DECIMAL (MP)
A-28
SHIFT AND ROUND DECIMAL (SRP)
Decimal Left Shift
A-28
Decimal Right Shift
A-29
Decimal Right Shift and Round
A-29
MUltiplying by a Variable Power of 10
ZERO AND ADD (ZAP)
A-30
Floating-Point Instructions
A-30
ADD NORMALIZED (AD, ADR, AE, AER,
AXR)
A-30
ADD UNNORMALIZED (AU, AUR, AW,
AWR)
A-30
COMPARE (CD, CDR, CE, CER)
A-31
Floating-Point-Number Conversion
A-3I
Fixed Point to Floating Point
A-31
Floating Point to Fixed Point
A-32
Multiprogramming and Multiprocessing
Examples
A-32
Example of a Program Failure Using OR
Immediate
A-32
A-28
A-29
COMPARE AND SWAP (CS, CDS)
A-33
Setting a Single Bit
A-33
Updating Counters
A-34
Appendix A. Number Representation and Instruction-Use Examples
A-I

Advertisement

loading