Professional Documents
Culture Documents
Hand Assembly of Sic
Hand Assembly of Sic
Hand Assembly of Sic
Þ 0030 – 0003= 2D
17202D
Length of the program -1073
0110 1001 0010 02D 0110 1001 0010 0000 0010 1101
69202D
Length of the program -1073
=> 4 B 1 0 1 0 3 6
Length of the program -1073
Þ032026
Length of the program -1073
5. COMP #0 FORMAT 3
OPCODE (6 BITS) n i x b p e Disp (12 bits)
0010 10 0 1 0 0 0 0 000
Þ 2 9 0 000
Length of the program -1073
Þ332007
Length of the program -1073
=> 4 B 1 0 1 0 5 B
Length of the program -1073
8. J CLOOP FORMAT 3
OPCODE (6 BITS) n i x b p e Disp (12 bits)
0011 11 1 1 0 0 1 0 FEC
Þ3F2FEC
Length of the program -1073
Þ032010
Length of the program -1073
Þ0F200D
Length of the program -1073
11. LDA #3
OPCODE (6 BITS) n i x b p e Disp (12 bits)
0000 00 0 1 0 0 0 0 003
Þ010003
Length of the program -1073
Þ0F200D
Length of the program -1073
Þ4B10105B
Length of the program -1073
Þ3E2003
Length of the program -1073
Þ75101000
Length of the program -1073
ÞE32017
Length of the program -1073
Þ332FFA
Length of the program -1073
ÞDB2011
Length of the program -1073
Þ332008
Length of the program -1073
Þ Disp = BUFFER– (PC) = 0036 – 1051= FFFF EFE5 LARGE MEMEORY SIZE
BUFFER=DISP+(B)
=>DISP= BUFFER- (B)=0036 - 0033 = 003
base-relative: 0~4095
pc-relative: -2048~2047
Length of the program -1073
Þ3B2FEA
Length of the program -1073
=> Disp = LENGTH– (PC) = 0033 – 1059 = FFFF EFDA PC RELATIVE CANNOT
ACCOMMODATE THE MEMEORY
base-relative: 0~4095
pc-relative: -2048~2047
Length of the program -1073
OBJECT CODE = F1
Length of the program -1073
VALUE OF LENGTH=DISP+(B)
Þ774000
Length of the program -1073
ÞE3200F
Length of the program -1073
Þ332FEC
Length of the program -1073
53C003
Length of the program -1073
ÞDF2006
Length of the program -1073
Þ3B2FEF
Length of the program -1073
OBJECT CODE = 05