Question

In: Computer Science

Assume that 20 bytes of Packed BCD data is present in a data memory at location...

Assume that 20 bytes of Packed BCD data is present in a data memory at location 0x300 to 0x313. You have to write an assembly program that will display data on a two seven segment displays one connected to Port A and other connected to Port B using loops. You also have to analyze data if the data is equal to 0x22 then start storing data bytes at corresponding memory address 0x400 to 0x413 in reverse order i.e. if the data at 0x300 is 0x95 then it must be stored at corresponding memory location 0x400 as 0x59. Stop the storing of data when you find data byte equal to 0x55. Draw block diagram that will clearly show the pin connection between seven segment display and Microcontroller port. Also draw flow chart for your software.   

Solutions

Expert Solution

Greetings!!

Please find the solution below.

Happy Learning!!


Related Solutions

Given a system with 4M bytes of address space per process, 64M bytes of physical memory,...
Given a system with 4M bytes of address space per process, 64M bytes of physical memory, pages of size 1K bytes, and page table entries of 8 bytes. How many entries can fit in one page? Select one: a. 128 b. 1K c. 8 d. 64K Given a system with 16G bytes of address space per process, 8G bytes of physical memory, and pages of size 16K bytes. How many entries are there in a linear page table? Select one:...
Given a system with 2T bytes of address space per process, 1T bytes of physical memory,...
Given a system with 2T bytes of address space per process, 1T bytes of physical memory, and pages of size 32M bytes. How many entries are there in a linear page table? Select one: a. 64K b. 32K c. 32M d. 1T Given a system with 8G bytes of address space per process, 2M bytes of physical memory, and pages of size 2K bytes. How bits are needed to specify the virtual page number? Select one: a. 22 b. 10...
Given a system with 512G bytes of address space per process, 2G bytes of physical memory,...
Given a system with 512G bytes of address space per process, 2G bytes of physical memory, and pages of size 2K bytes. How bits are needed to specify the offset? Select one: a. 39 b. 28 c. 11 d. 20 Given a system with 4M bytes of address space per process, 8M bytes of physical memory, pages of size 8K bytes, and page table entries of 4 bytes. How many entries can fit in one page? Select one: a. 8K...
with C# create a console application project that outputs the number of bytes in memory that...
with C# create a console application project that outputs the number of bytes in memory that each of the following number types use, and the minimum and maximum values they can have: sbyte, byte, short, ushort, int, uint, long, ulong, float, double, and decimal. Try formatting the values into a nice-looking table! More Information: You can always read the documentation, available at https://docs.microsoft.com/en-us/dotnet/standard/base-types/composite-formatting for Composite Formatting to learn how to align text in a console application. Your output should look...
Suppose an application generates chunks 60 bytes of data every 200msec. Assume that each chunk gets...
Suppose an application generates chunks 60 bytes of data every 200msec. Assume that each chunk gets put into a TCP packet and that the TCP packet gets put into IP packets. What is the % of overhead that is added in because of TCP and IP combines? 1) 40% 2) 10% 3) 20% 4) 70%
A block of memory contains 40 random words of data. Assume that the values are in...
A block of memory contains 40 random words of data. Assume that the values are in two’s complement representations and are stored in the Read/Write memory area. You need to provide the 40 random words and to include them in an initialization file: assign.ini. Write a program using the ARM assembly programming language to do the following: a) You are required to reverse the word order in a block of 40 random words (Hint: the last word stored in the...
Suppose a computer using direct mapped cache has 224 bytes of byte-addressable main memory, and a...
Suppose a computer using direct mapped cache has 224 bytes of byte-addressable main memory, and a cache of 128 blocks, where each cache block contains 8 bytes. For fully associative cache, to which block of cache the address 0x189B5A maps? Group of answer choices Block 6 Block 75 Not enough information Block 10
Given byte-addressed memory with location 0x100 containing 0x62 and location 0x101 containing 0x7C. What is the...
Given byte-addressed memory with location 0x100 containing 0x62 and location 0x101 containing 0x7C. What is the decimal value of the signed short stored at location 0x100: Assuming big-endian addressing. Assuming little-endian addressing. You may assume that a short occupies 2 bytes.
Assume a computer with a cache that holds 64 bytes and has a block size of...
Assume a computer with a cache that holds 64 bytes and has a block size of 32 bytes. Direct address mapping is used and from the beginning the cache is empty. The following program sequence is executed: for (col = 0; col < 2; col++) { for (row = 0; row < 4; row++) A[row][col] = B[row] * C[col]; } Assume that for the variables row and col registers are used. The matrix A consists of 4 rows and 4...
The following problems are related to PIC18F46K22 data memory: (a) What is the data memory space...
The following problems are related to PIC18F46K22 data memory: (a) What is the data memory space and actual implemented size? (b) What does direct addressing mean? (c) What does indirect addressing mean? (d) What is the Access Bank used for? (e) What is the address range for Bank 6? (f) What is the purpose of the registers FSR0, FSR1, FSR2 for?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT