1 How would the decimal number 1234 be coded in ASCII and st
1. How would the decimal number 1234 be coded in ASCII and stored in memory Starting at address 0C000H? (Assume that the least significant digit is stored at the addressed memory location.)
2. Find the unknown value for each of the following physical addresses. Assume all numbers are hexadecimal numbers
(a) A000:?= A0123
(b) ?:14DA 235DA
(c) D765:?= DABC0
(d) ?:CD21 = 32D21
show the detailed work please.
Solution
1. According to the ASCII decimal number 1234 be coded and stored in the memory starting at address 0C000H,
it will be coded and stored in the memory as:
address memory
0C000H 34H
0C001H 33H
0C002H 32H
0C003H 31H
2.
(a) A000x10+???? = A0123
????=0123H
(b) ????x10+14DA = 235DA
????=2210H
(c) D765x10+???? = DABC0
????=3570H
(d) ????x10+CD21=32D21
???? = 2600H
