Warning: Trying to access array offset on value of type bool in /home/topgsnkq/timelyhomework.com/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 570

assignment itech 1000

ITEC 1000 Assignment #2Total = 100 marks (Solutions);· 5 marks file name and general formatInstructions:· All questions are based on Englander — Chapters 6 & 7.· Use a word processor (if you use a non-MS WORD compatible program, e.g., Pages, save as PDF or RTF).· Both questions and answers must be appropriately formatted (including tables) and well presented with enough explanation.· Be sure to name the file as your full name in the following format (lowercase), e.g., peggy_carter.docx· Submit via the upload link provided at the course site any time before or by the deadline, March 26, 11 PM (sharp); late submissions will not be accepted.· Apply the LMC instruction set below to answer relevant questions.LMC Instruction Set InstructionMnemonicNumeric CodeLoadLDA5xxStoreSTO3xxAddADD1xxSubtractSUB2xxInputIN901OutputOUT902EndHLT000Branch/JumpBR6xxBranch if   zeroBRZ7xxBranch if   zero or positiveBRP8xxData storageDATxxx1. Trace the program below and summarize what the program does; not a step-by-step description of each instruction. [5 marks]Address / Mailbox #Assembly / MnemonicNumeric   Code00IN90101STO 9039002IN90103STO 9139104LDA 9059005OUT90206LDA 9159107OUT90208HLT000…90DAT 000091DAT 00002. Complete the table below to construct an LMC program that will accept a set of three numbers as INPUT and then add the first two numbers and output the answer, then subtract the first number from the third and output the answer. The program begins at address 00 and data is stored in address 90. [20 marks]Mailbox #MnemonicNumeric codeInstruction Description00IN901Input first number013. Complete the table below and construct an LMC program that will accept a number INPUT and OUTPUT a sequence of numbers, starting at 1 and finishing with the INPUT (maxNumber). The counter must be initialized to zero each time the program is run. The program will continue (loop) until a 0 is entered. [20 marks]Mailbox #MnemonicNumeric codeInstruction Description00load zero (from 93) to the accumulator01Store the initial count02input03If zero, branch to halt04Store maxNumber05LoopTop load count06Add step to counter07Store count08Output09Subtract maxNumber10If positive, endLoop11Jumpt to loopTop12endLoop jump to start13Halt execution90step DAT 191maxNumber DAT92count DAT93zero DAT4. Complete the table below to construct an LMC program that will accept two INPUT numbers and then OUTPUT the greater of the two. The program should begin at address 00 and data should be stored in addresses beginning at 90. [25 marks]Mailbox #MnemonicNumeric codeInstruction Description5. Consider the LMC program below in which 2 numbers are entered and added. Suppose the first input entry was stored in mailbox location 00.a. Would the program have produced the same result?b. What would have happened if the program were executed a second time?c. What characteristic of the computer makes this true? [5 marks]MailboxAddressNumericCode009010130602901031060490205000060006. If a computer has a 38-bit memory address register. How much memory can this computer address? (Assume: 1 byte/cell; use the most appropriate measure unit). Show your work. [5 marks]Consider the following LMC instructions found in the given locations in memory.Mailbox AddressMnemonic Code15LDA 4016ADD 41…40723410217. Show the CPU Fetch/Execute cycle steps and the values of Instruction Register (IR), the Program Counter (PC), the Memory Address Register (MAR), the Memory Data Register (MDR), and Accumulator (A) when the instruction in address 15 is completed. [5 marks]F/E cycleRegister Values8. Show the contents of each register as each step of the F/E cycle is performed for instruction 16 in the above program. [10 marks]F/E cyclePCMARMDRIRAPC ® MARMDR ® IRIR [address] ® MARA + MDR ® AITEC 1000 Assignment #2Total = 100 marks (Solutions);· 5 marks file name and general formatInstructions:· All questions are based on Englander — Chapters 6 & 7.· Use a word processor (if you use a non-MS WORD compatible program, e.g., Pages, save as PDF or RTF).· Both questions and answers must be appropriately formatted (including tables) and well presented with enough explanation.· Be sure to name the file as your full name in the following format (lowercase), e.g., peggy_carter.docx· Submit via the upload link provided at the course site any time before or by the deadline, March 26, 11 PM (sharp); late submissions will not be accepted.· Apply the LMC instruction set below to answer relevant questions.LMC Instruction Set InstructionMnemonicNumeric CodeLoadLDA5xxStoreSTO3xxAddADD1xxSubtractSUB2xxInputIN901OutputOUT902EndHLT000Branch/JumpBR6xxBranch if   zeroBRZ7xxBranch if   zero or positiveBRP8xxData storageDATxxx1. Trace the program below and summarize what the program does; not a step-by-step description of each instruction. [5 marks]Address / Mailbox #Assembly / MnemonicNumeric   Code00IN90101STO 9039002IN90103STO 9139104LDA 9059005OUT90206LDA 9159107OUT90208HLT000…90DAT 000091DAT 00002. Complete the table below to construct an LMC program that will accept a set of three numbers as INPUT and then add the first two numbers and output the answer, then subtract the first number from the third and output the answer. The program begins at address 00 and data is stored in address 90. [20 marks]Mailbox #MnemonicNumeric codeInstruction Description00IN901Input first number013. Complete the table below and construct an LMC program that will accept a number INPUT and OUTPUT a sequence of numbers, starting at 1 and finishing with the INPUT (maxNumber). The counter must be initialized to zero each time the program is run. The program will continue (loop) until a 0 is entered. [20 marks]Mailbox #MnemonicNumeric codeInstruction Description00load zero (from 93) to the accumulator01Store the initial count02input03If zero, branch to halt04Store maxNumber05LoopTop load count06Add step to counter07Store count08Output09Subtract maxNumber10If positive, endLoop11Jumpt to loopTop12endLoop jump to start13Halt execution90step DAT 191maxNumber DAT92count DAT93zero DAT4. Complete the table below to construct an LMC program that will accept two INPUT numbers and then OUTPUT the greater of the two. The program should begin at address 00 and data should be stored in addresses beginning at 90. [25 marks]Mailbox #MnemonicNumeric codeInstruction Description5. Consider the LMC program below in which 2 numbers are entered and added. Suppose the first input entry was stored in mailbox location 00.a. Would the program have produced the same result?b. What would have happened if the program were executed a second time?c. What characteristic of the computer makes this true? [5 marks]MailboxAddressNumericCode009010130602901031060490205000060006. If a computer has a 38-bit memory address register. How much memory can this computer address? (Assume: 1 byte/cell; use the most appropriate measure unit). Show your work. [5 marks]Consider the following LMC instructions found in the given locations in memory.Mailbox AddressMnemonic Code15LDA 4016ADD 41…40723410217. Show the CPU Fetch/Execute cycle steps and the values of Instruction Register (IR), the Program Counter (PC), the Memory Address Register (MAR), the Memory Data Register (MDR), and Accumulator (A) when the instruction in address 15 is completed. [5 marks]F/E cycleRegister Values8. Show the contents of each register as each step of the F/E cycle is performed for instruction 16 in the above program. [10 marks]F/E cyclePCMARMDRIRAPC ® MARMDR ® IRIR [address] ® MARA + MDR ® A

 
"Looking for a Similar Assignment? Order now and Get 10% Discount! Use Code "GET10" in your order"

If this is not the paper you were searching for, you can order your 100% plagiarism free, professional written paper now!

Order Now Just Browsing

All of our assignments are originally produced, unique, and free of plagiarism.

Free Revisions Plagiarism Free 24x7 Support