lecture03

Lecture03 - ECE252 Microprocessors Fall 2008 Lecture 03 68000 Instruction Set Jie Hu http/web.njit.edu/~jhu/ece252 ECE252 L03-68000 ISA.1 Jie Hu

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

View Full Document Right Arrow Icon
Jie Hu, ECE/NJIT, Fall 2008 ECE252 L03-68000 ISA.1 ECE252 Microprocessors Fall 2008 Lecture 03: 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 2008 ECE252 L03-68000 ISA.2 Review of Last Lecture Functional Description of the 68000 68000 64-pin package, pin layout, pin input/output signals Programming Model of the 68000 8 32-bit data registers: D0 – D7 8 (+1) 32-bit address registers: A0 – A7 24-bit program counter: PC 16-bit status register: SR Endianness: byte ordering of .W/.L in memory space big endian (higher byte lower address): 68000, Sparc, … little endian (lower byte lower address): Intel 80x86, Alpha, …
Background image of page 2
Jie Hu, ECE/NJIT, Fall 2008 ECE252 L03-68000 ISA.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 2008 ECE252 L03-68000 ISA.4 Memory Map in Macintosh 512K 512KB RAM 64KB ROM SCC Read SCC Write IWM VIA $000000 $080000 $400000 $410000 $900000 $A00000 $B00000 $C00000 $D00000 $E00000 $E80000 $F00000 Serial I/O 8530 System ROM Dynamic RAM 512KB I/O Interface 6522 Floppy disk controller $FFFFFF 16MB Memory Space
Background image of page 4
Jie Hu, ECE/NJIT, Fall 2008 ECE252 L03-68000 ISA.5 Today’s Lecture Number Systems and Base Conversion decimal, binary, octal, hexadecimal Signed Binary Representations ASCII Code Table Assembly Language Programming Understanding Motorola S-Record File Format Composing Solution for Programming Assignments 68000 Instruction Set
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 2008 ECE252 L03-68000 ISA.6 Number Systems Positional number system representation (unsigned): where n is the number of digits, r is the radix or base, and a i are the digits (coefficients), 0 <= a i < r Based on the value of the radix r , we have decimal: r =10, a i :0,1,2,3,4,5,6.7,8,9 binary: r =2, a i :0,1 octal: r =8, a i :0,1,2,3,4,5,6.7 hexadecimal: r =16, a i :0,1,2,3,4,5,6.7,8,9,A,B,C,D,E,F In 68000 assembly code, numbers can be either in decimal (e.g, 91) or hexadecimal (e.g, $5B) 0 1 2 2 2 2 1 ... 1 a r a r a r a r a N n n n n + + + + + = - - - -
Background image of page 6
ECE252 L03-68000 ISA.7 Base Conversion From binary/octal/hexadecimal to decimal, use the representation equation to evaluate 101111 2 =1x2 5 +0x2 4 +1x2 3 +1x2 2 +1x2+1=47 10 1352 8 =1x8 3 +3x8 2 +5x8+2=746 10 2EA 16 =2x16 2 +14x16+10=746 10 Convert decimal to binary 105 10 =(?) 2 105 10 =(1101001) 2 Convert decimal to octal? 105
Background image of page 7

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

View Full DocumentRight Arrow Icon
Image of page 8
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/18/2010 for the course ECET 252 taught by Professor Hu during the Spring '10 term at NJIT.

Page1 / 31

Lecture03 - ECE252 Microprocessors Fall 2008 Lecture 03 68000 Instruction Set Jie Hu http/web.njit.edu/~jhu/ece252 ECE252 L03-68000 ISA.1 Jie Hu

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

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