Lec14 - ECE 212 Digital Circuits II Monday, 24 March 2008...

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

View Full Document Right Arrow Icon
1 ECE 212 Digital Circuits II Monday, 24 March 2008 HW Set 14: Problem 1 Chris D. Problem 2 Steve H. Problem 3 Bill H. Problem 4 Andrew J. Lecture 14 Goals To understand how to generate machine language. To introduce some features of assembly language. http://www.gnu-m68hc11.org/m68hc11_download.php Our assember: GNU. For Windows or Linux.
Background image of page 1

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

View Full DocumentRight Arrow Icon
2 New Micros, Inc. NMIN-12A256B Problem PC How do we get a machine language program into the processor? 68HC12 Serial Cable Machine Language Resources 68HC12 PC can run HyperTerminal. PC acts as a dumb terminal. 68HC12 runs D-Bug12. Monitor program. load <Enter> 2. 1. Send a text file of machine code.
Background image of page 2
S1 13 0100 20285061636B6574697A657220566572 44 Loc Cnts 0100 20 0101 28 0102 50 0103 61 0104 63 0105 6B 0106 65 0107 74 0108 69 0109 7A 010A 65 010B 72 . . . .s19 File Text file. Contains the machine code. Used to download the code to the processor. One line Record. Record Type No. of Bytes in record Checksum Starting address Memory contents .s19 File Creation f.s19 File f.s File Assembly language file (text). f.o File Object file (binary). f.elf File Linked result (binary). c:\m6811-elf-gcc -Wa,-asl=f.lst \ -m68hc12 -mshort -c f.s c:\m6811-elf-gcc -m68hc12 -mshort \ -Wl,-mm68hc12elfb \ -o f.elf f.o c:\m6811-elf-objcopy -O srec \ f.elf f.s19 Assembler Linker Translation (text). Command lines
Background image of page 3

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

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

Page1 / 10

Lec14 - ECE 212 Digital Circuits II Monday, 24 March 2008...

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

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