In order to program many microcontrollers, the binary instructions are stored in a file on a personal
Question:
In order to program many microcontrollers, the binary instructions are stored in a file on a personal computer in a special way known as Intel Hex Format. The hexadecimal information is encoded into ASCII characters so it can be displayed easily on the PC screen, printed, and easily transmitted one character at a time over a standard PC’s serial COM port. One line of an Intel Hex Format file is shown below:
The first character sent is the ASCII code for a colon, followed by a 1. Each has an even-parity bit appended as the most significant bit. A test instrument captures the binary bit pattern as it goes across the cable to the microcontroller.
(a) What should the binary bit pattern (including parity) look like? (MSB – LSB)
(b) The value 10, following the colon, represents the total hexadecimal number of bytes that are to be loaded into the micro’s memory. What is the decimal number of bytes being loaded?
(c) The number 2000 is a four-digit hex value representing the address where the first byte is to be stored. What is the biggest address possible? How many bits would it take to represent this address?
(d) The value of the first data byte is F7. What is the value (in binary) of the least significant nibble of this byte?
Step by Step Answer:
Digital Systems Principles And Application
ISBN: 9780134220130
12th Edition
Authors: Ronald Tocci, Neal Widmer, Gregory Moss