Presentation is loading. Please wait.

Presentation is loading. Please wait.

CS-401 Computer Architecture & Assembly Language Programming

Similar presentations


Presentation on theme: "CS-401 Computer Architecture & Assembly Language Programming"— Presentation transcript:

1 CS-401 Computer Architecture & Assembly Language Programming
Lecture-45 Comparison with other Processors

2 Lets Revise the Last Lectures

3 Processors

4 Motorola 68 K Processors Data Movement Operation Source, Destination
EXG D0,D2 MOVE.B (A1),(A2) MOVEA (2222).L,A4 MOVEQ #12,D7

5 Motorola 68 K Processors Arithmetic ADD D7,(A4) CLR (A3) CMP (A2),D1
ASL, ASR, LSL, LSR, ROR, ROL, ROXL, ROXR

6 Motorola 68 K Processors Program Control BRA label1 JMP (A3)
BSR label1 JSR (A2) RTD #4

7 Motorola 68 K Processors Conditional Branch BCC label
Some condition codes (cc) CC Carry Clear LS Lower or Same LT Less Than EQ Equal VC Overflow Clear

8 (LDSR, LDSW, LDSH, LDUB, LDUH, LDUW) STB,STH,STW,STX [address],r5
SPARC Processors Data Movement LDX [address], rn (LDSR, LDSW, LDSH, LDUB, LDUH, LDUW) STB,STH,STW,STX [address],r5

9 SPARC Processors Arithmetic operation source1,source2,dest
source1 = rn source2 = rn or simm13 dest = rn ADD SUB SLL, SRA, SRL AND, OR, XOR

10 SPARC Processors Program Control CALL RET JMPL SAVE RESTORE

11 SPARC Processors Program Control BA label Bcc label
Condition Codes (cc) E, G, LE, CC, VS


Download ppt "CS-401 Computer Architecture & Assembly Language Programming"

Similar presentations


Ads by Google