Question: pdp-8 card below 3 8 On the PDP-8, only memory on the current page or on page zero can be addressed directly in a single

 pdp-8 card below 3 8 On the PDP-8, only memory on

pdp-8 card below

the current page or on page zero can be addressed directly in

3 8 On the PDP-8, only memory on the current page or on page zero can be addressed directly in a single instruction. Suppose an add instruction located at address Ox907 adds (two's complement addition, the contents of address Ox90a to the accumulator. Using the table of pdp8 instructions attached to the exam, give the binary code (12 bits) for that instruction: 1 GROUP 2 OPERATE MICROINSTRUCTIONS (1.21sec) Sequence SMA 7500 skip on minus AC SZA 7440 skip on zero AC SPA 7510 skip on plus AC SNA 7450 skip on non-zero AC SNL 7420 skip on non-zero link SZL 7430 skip on zero link SKP 7410 skip unconditionally OSR 7404 inclusive OR, switch register with AC 3 HLT 7402 halts the program CLA 7600 clear AC 2 1 4 GROUP 2 0 1 2 2 3 4 9 10 8 0 1 5 6 2 SMASZA SNL SPA SNA SZL 1 CLA OSRHLT 0 0 RTK RTL BASIC INSTRUCTIONS AND 0000 logical AND 2.6 TAD 1000 2's complement add 2.6 ISZ 2000 increment, and skip if zero 2.6 DCA 3000 deposit and clear AC 2.6 JMS 4000 jump to subroutine 2.6 JMP 5000 jump 1.2 IOT 6000 in/out transfer OPR 7000 operate 1.2. 0 1 2 3 5 6 7 8 9 10 11 OP CODE 0.5 IA MP ADDRESS PAGE RELATIVE ADDRESS INDIRECT ADDRESSING O DIRECT 1 INDIRECT MEMORY PAGE 0 PAGE O 1 CURRENT PAGE Memory Reference Instruction Bit Assignments GROUP 1 OPERATE MICROINSTRUCTIONS (1.21 sec) NOP Sequence 7000 no operation CLA 7200 clear AC 1 CLL 7100 clear link 1 CMA 7040 complement AC CML 7020 complement link RAR 7010 rotate AC and link right one RAL 7004 rotate AC and link left one RTR 7012 rotate AC and link right two RTL 7006 rotate AC and link left two 4 IAC 7001 increment AC BSW 7002 swap bytes in AC 4 GROUP 1 0 1 2 3 4 5 6 6 7 9 10 11 1 1 1 1 0 0 IAC Logical Sequences: 1 (Bit 8 is Zero)-Either SMA or SZA or SNL 1 (Bit 8 is One)--Both SPA and SNA and SZL -OSR, HLT -CLA Group 2 Operate Instruction Bit Assignments 2 COMBINED OPERATE MICROINSTRUCTIONS (1.21sec.) Sequence CIA 7041 complement and increment AC 2,3 LAS 7604 load AC with switch register 2,3 STL 7120 set link (to 1) 1,2 GLK 7204 get link (put link in AC bit 11) 1,4 CLA CLL 7300 clear AC and link 1 CLL RAR 7110 shift positive number one right 1,4 CLL RAL 7104 shift positive number one left 1,4 CLL RTL 7106 clear link, rotate 2 left 1,4 CLL RTR 7112 clear link, rotate 2 right 1. SZA CLA 7640 skip if AC=0, then clear AC 1, 2 SZA SNL 7460 skip If AC0 or link is 1, or both 1 SNA CLA 7650 skip if AC=0, then clear AC 1, 2 SMA CLA 7700 skip if AC

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!