lecture06

lecture06 - ECE252 Microprocessors Fall 2008 Lecture 06:...

Info iconThis preview shows pages 1–11. Sign up to view the full content.

View Full Document Right Arrow Icon
Jie Hu, ECE/NJIT, Fall 20008 ECE252 L06-Inst. Set.1 ECE252 Microprocessors Fall 2008 Lecture 06: 68000 Instruction Set Jie Hu http://web.njit.edu/~jhu/ece252
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Jie Hu, ECE/NJIT, Fall 20008 ECE252 L06-Inst. Set.2 Review of Last Lecture Addressing Modes total 14 addressing modes immediate, short immediate data register direct, address register direct memory addressing
Background image of page 2
Jie Hu, ECE/NJIT, Fall 20008 ECE252 L06-Inst. Set.3 Block Diagram of Macintosh 512K Motherboard Processor 68000 I/O Interface 6522 Real- time clock Serial I/O 8530 Floppy disk controller System ROM RAM buffers and Mux PAL decoders Dynamic RAM 512KB Sound logic Video logic Speaker Video display Control signals Modem Printer Mouse Keyboard System bus Disk drive
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Jie Hu, ECE/NJIT, Fall 20008 ECE252 L06-Inst. Set.4 Today’s Lecture Addressing modes (cont’d) Absolute long PC with displacement PC with index Implied addressing 68000 Instruction Set Data transfer Arithmetic
Background image of page 4
Jie Hu, ECE/NJIT, Fall 20008 ECE252 L06-Inst. Set.5 Absolute Long Address Absolute long address: the full 24-bit value directly gives the memory address of the operand. There is no sign extension. Addressing space, 000000-FFFFFF. 3C 09 BA Data Memory Address 02DFFF 02E000 02E001 02E002 0002E000 1234FEDC 1234FE09 Old D0 New D0
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Jie Hu, ECE/NJIT, Fall 20008 ECE252 L06-Inst. Set.6 Program Counter with Displacement Program counter with displacement: the address is formed by adding a signed 16-bit displacement to the program counter (PC). 68000 uses this addressing mode to implement branch instructions. It can be also used to access the data.
Background image of page 6
Jie Hu, ECE/NJIT, Fall 20008 ECE252 L06-Inst. Set.7 Program Counter with Index Program counter with index: the address is formed by adding a signed 8-bit displacement and a signed index register (address or data register) to the program counter (PC).
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Jie Hu, ECE/NJIT, Fall 20008 ECE252 L06-Inst. Set.8 Program Counter with Index 3C 09 BA Data Memory Address 008020 008021 008022 000000BB New D0 10 BB 008023 008024 00000004 D6 2F 10 008025 008100 3B 68 008101 008102 008103 SINE Address of MOVE.B SINE(PC,D6.L), D0 008102 PC 008020 SINE 008102 PC displacement DE Assembling: +) 008024 00008020 SINE
Background image of page 8
Jie Hu, ECE/NJIT, Fall 20008 ECE252 L06-Inst. Set.9 Implied Addressing Implied addressing: the instruction makes a reference to a processor register with its mnemonic. Examples: ANDI #$27, SR MOVE CCR, CODES TRAPV
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Jie Hu, ECE/NJIT, Fall 20008 ECE252 L06-Inst. Set.10 Summary of 68000 Addressing Modes Addressing Mode Mode Bits Register Bits Assembler Syntax Data Register Direct 000 000-111 Dn Address Register Direct 001 000-111 An Address Register Indirect 010 000-111 (An) Address Register Indirect with Postincrement 011 000-111 (An)+ Address Register Indirect with Predecrement 100 000-111 -(An) Address Register Indirect
Background image of page 10
Image of page 11
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 31

lecture06 - ECE252 Microprocessors Fall 2008 Lecture 06:...

This preview shows document pages 1 - 11. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online