IBM System 360 370 Series Memory Data FormatInstruction
ตวอย �าง เครอง IBM System 360 -370 Series -Memory -Data Format-Instruction -Machine Language -Assembly Language - IBM System 360 ��� 370 Series - Memory 8 bits = 1 Byte 4 bytes = 1 Word (Fullword) (32 bits) 2 bytes = 1 Half word (16 bits) 8 bytes = 1 Doubleword (64 bits)
2. 2 Floting – point Register 4 ��� @ 64 bits (#0, 2 , 4 , 6)�� �งานในการเกบตวเลขทมทศนยม 2. 3 Control Register 16 ��� @ 32 bit (#015)��� ใช�งานเฉพาะอย�าง โดยแต�ละ bit ���� Register ���������������� ���������� LOAD CONTROL ��� STORE CONTROL -Registers -Instruction Registers -Working Registers or General Registers -Special-purpose Register -Memory Address Register -Memory Buffer Registers -Base Registers -Index Registers -Accumulators -Program Register or Location Counter or Control Counter -Control Registers or Program Status Registers -Condition Code (CC)
Condition Code (Binary)
S หมายถง Sign Bit => 1 bit หรอ 4 bit D หมายถง Binary Coded Decimal => 4 bits Z หมายถง Zone Code => 4 bits C หมายถง Characteristic of Exponent => 7 bits F หมายถง Fraction of Mantissa => 24 bits or 56 bits Ch หมายถง 1 character symbol => 8 bits
Machine Instruction (IBM System/370)
งน ถ�าแบ�งตามหน�าทจดแบ �งได�ด - Information Move �� ��MVC (Move Character) -Arithmetic Instruction and Logical �� �� A(Addition) S(Subtraction) M(Multiply) D(Division) AND OR NOR(Negative OR) -Comparison Instruction �� �� CR(Compare Register) C(Compare) CLC(Compare Logical Character) CLI(Compare Logical Immediate) -Transfer of Control Instruction �� �� * ���������� Condition Code ���� �� �� BC(Branch
4. คาสงควบคม ORG (Set location counter) EQU (Equivalence) LTORG (Literal Origin) CNOP (Condition No Operation) END 5. คาสงทเกยวข �องกบแมคโคร MACRO MEXIT MEND 6. คาสงเงอนไข ACTR (Conditional Assembly Loop Counter) AGO (Unconditional Branch) AIF (Conditional Branch) SETA (Set Arithmetic Variable Symbol) SETB (Set Binary Variable Symbol) SETC (Set Character Variable Symbol)
7. คาสงควบคมการพมพ � - TITLE (Identity Assembly Output) -EJECT (Start new page) -SPACE (Space Listing) -PRINT (Print optional Data)
House-
ปน ให�ไปศกษาเพมเตมคาสงต คาสง Load LRR 1, R 2 RR-format ������� Load Address LA R 1, D 2(X 2, B 2) RX-format ������� Load Halfword LH R 1, D 2(X 2, B 2) RX-format ������� Load Multiple LM R 1, R 3, D 2(B 2) RS-format ������� Load and Test (c) LTR R 1, R 2 RR-format ������� Load Complement (c) LCR R 1, R 2 RR-format �อไ
ให�ไปศกษาเพมเตมคาสงต �อไปน คาสง Store Character STC คาสง R 1, D 2(X 2, B 2) Store Halfword STH คาสง R 1, D 2(X 2, B 2) Store Multiple STM R 1, R 3, D 2(B 2)
- Slides: 58