Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Topic Video
Question
Q1- Write a program in assembly language for the 8085 microprocessor to send one byte of data located at the memory address (3000H ) using SOD at a baud rate of 1200.
Information: The 8085 processor operates at a frequency of 3.072 MHz . When sending the required byte, you must adhere to the following: The two high bits of the start bits(1 1) must be sent, after that the data bits are sent, after that the low bit of the stop bit (0) is sent.
The following flowchart will help you.
The solution must be integrated and include the calculation of the baudrate delay time
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by stepSolved in 4 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- 4. By assuming that 35 is a two digit number, consider memory storage of a 64- bit word stored at memory word 35 in a byte-addressable memory (a) What is the byte address of memory word 35? (b) What are the byte addresses that memory word 35 spans? (c) Draw the number 0XF1234567890ABCDE stored at word 35 in both big-endian and little-endian machines. Clearly label the byte address corresponding to each data byte value.arrow_forwardAssembly Languagearrow_forwardAssume that a memory is initialised as follows: Memory Address Cell Contents 0x000336 0x38 0x000337 0x26 0x000338 0x48 0x000339 0x38 0x00C33A 0x00C33B 0x77 0x38 The following sequence of operations is executed in the given memory: Write(0x00C337, 0x0205) Write (0x00C339, 0x0106) Write(0x00C338, 0x0109) Assume that the read and write operations are done in groups of two bytes, and the system is a big endian system. What is the result of read(0x00C337) +read (0x00C338)? Write your answer in Base 10 (decimal)arrow_forward
- NAND2TETRIS HARDWARE SIMULATOR HiLoMux - This has one 8-bit input bus, in, and one 4-bit output bus, out. Alsopresent is a sel input, which is used to select what appears on out. Ifsel is false, then out should contain the lower 4-bits of in (i.e. in[0],in[1], in[2], in[3]). If sel is true, then out should contain theupper 4-bits of in (i.e. in[4] mapped to out[0], in[5], mapped toout[1], etc.). In other words, the HiLoMux can be used to select anibble from a byte please use the skeleton program below CHIP HiLoMux{ IN in[8], sel; OUT out[4]; PARTS: }arrow_forwardUsing MIPS assembly language, write a MIPS programs that the determines what the ECC code should be for a given number (an 8-bit byte).The codes you create are to work for 8-bit positive numbers as these are simpler to work with than larger numbers. The program is to request the user to enter a byte of data (a positive integer in the range of 0 to 255 in decimal) and then create the 12-bit Hamming code as described in your text (see above). The program is to then output this (with an appropriate label) in hex. the following code is not working and has errors: # Prompt user for inputli $v0, 4 # system call for printing stringla $a0, prompt # prompt stringsyscall # Read input byteli $v0, 5 # system call for reading integersyscallmove $t0, $v0 # store the byte in register $t0 # Calculate ECC Hamming codesrl $t1, $t0, 4 # extract the first 4 bitsxor $t1, $t1, $t0 # calculate parityand $t1, $t1, 0b1011 # mask out irrelevant bitssll $t1, $t1, 8 # shift left by 8 bitssrl…arrow_forwardAssume that a mad scientist has created a computer that has 12-bit registers (storage). The most significant bit is the sign bit. He wants to execute the following computation using 12-bit register. 124-435 (Subtract decimal 435 from decimal 124) Use 2's complement method (in binary) to find the result of the above operation in binary system. Then convert the result back to decimal to check your answer. NOTE: Please don't do the subtraction in decimal! Show all the computations in the answer. Paragraph В I +v Add a File Record Audioarrow_forward
- This is Computer Machine Architecture! this is Hamming code in MIPS assembly language 1. when I input a 154 (the example in the book). It should have given an output of 0x72A. the assignment: This assignment is to create a MIPS programs that the determines what the ECC code should given number (an 8-bit byte). The codes you create are to work for 8-bit positive numbers as these are simpler to work with than larger numbers. The program is to request the user to enter a byte of data (a positive integer in the range of 0 to 255 in decimal) and then create the 12-bit Hamming code as described in your text (see above). The program is to then output this (with an appropriate label) in hex. Make sure that you have lots of comments in your code as this is in MIPS. Also make the code neat: line up the instruction columns, the register columns, and the comment fields like the format belowarrow_forwardUse the following data declarations: .data byte Val word Val sbyte 1, 2, 3, FCh word 1000h, 2000h, 3000h, 4000h dwordVal dword 34567890h, 90785634h, 0Ah, 33445566h Show the value of the final destination operand after each of the following code fragments has executed: (If any instruction/s is invalid, indicate "INV" as the answer and briefly explain why) a. mov bh,byteVal+2 b. mov edx,1 C. add dx,[wordVal+4] mov ecx,5 xchg ecx,[dwordVal+12] d. mov ah, byte Val+3 sub ah,[ byte Val+0] sub ah,[ byte Val +2] e. mov eax, dword ptr dwordVal+7 f. movsx cx,byteVal+3 answer bh= answer edx= answer ecx= answer ah= answer eax= answer (show your answer in binary) CX=arrow_forwardUsing MIPS assembly language, write a MIPS programs that the determines what the ECC code should be for a given number (an 8-bit byte).The codes you create are to work for 8-bit positive numbers as these are simpler to work with than larger numbers. The program is to request the user to enter a byte of data (a positive integer in the range of 0 to 255 in decimal) and then create the 12-bit Hamming code as described in your text (see above). The program is to then output this (with an appropriate label) in hex. Make certain that you have lots of comments in your code as this is in MIPS. Also make the code neat: line up the instruction columns, the register columns, and the comment fieldsarrow_forward
- In 8086 ASM 64 bit, how to write assembly code for taking input for a single digit positive number, increment the input number by 2, write the single digit result, decrement the input number by 1 and then finally write the single digit result.arrow_forwardUse the following data declarations. Assume that the offset of byte Val is 00000000: .data byte Val sbyte 1,2,3.-7h word Val word 1000h.2000h 3000h, 4000h dwordVal dword 34567890h, 90785634h, 1234674Sh Show the value of the final destination operand after each of the following code fragments has executed: (If any instructions is invalid, indicate "INV" as the answer and briefly explain why) a. moy di 2 mov al, byte Val[di] b. mov bx, word Val mov esi, offset wordVal+4 xchg bx, [esi] R c. movsx cx, byte Val+3 d. mov ax, word ptr [dwordVal mov bl. byte ptr [dwordVal +10] e. mov al, 80h number add al 40h signed ;signed number answer al-= answer bx= answer (show your answer in binary) CX- answer |esi= answer bl= SF=arrow_forward5- Create an algorithm in assembly that will compute the area of a triangle. Here is the state of the memory when starting the algorithm: Base is stored as an 8 bit unsigned integer in a memory location pointed to by the special register X. Height of the triangle is stored as an 8 bit integer in a memory location pointed to by the special register Y. Your computed area of the triangle should be stored in memory at a location pointed to by the special register Z. If multiple rows of memory are required, then Z indicates the starting address. Requirements Clearly list the assembly commands required for this algorithm. How many rows of program memory are required for this algorithm? How many clock cycles (according to the AVR ISA) are required for this algorithm? What addressing mode is used for each assembly instruction?arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education