Page 1 of 1

Write assembler programs for the problems below. Remember to comment your programs adequately. You should make notes on

Posted: Sat Feb 19, 2022 3:26 pm
by answerhappygod
Write Assembler Programs For The Problems Below Remember To Comment Your Programs Adequately You Should Make Notes On 1
Write Assembler Programs For The Problems Below Remember To Comment Your Programs Adequately You Should Make Notes On 1 (46.74 KiB) Viewed 42 times
Do it using " MPLAB IDE v8.92 software"
use " P16F887"
Write Assembler Programs For The Problems Below Remember To Comment Your Programs Adequately You Should Make Notes On 2
Write Assembler Programs For The Problems Below Remember To Comment Your Programs Adequately You Should Make Notes On 2 (46.74 KiB) Viewed 42 times
Write assembler programs for the problems below. Remember to comment your programs adequately. You should make notes on your findings/understanding of the instructions and how they operate. This is a requirement for all the labs on this course. E E 1. Divide two 8-bit numbers: a) Load the literal values 0x3B and 0x36 into two file registers called: NUM1 at memory address 020 and NUM2 at memory address 021. Divide Numl by Num2 and store the result in two file registers Quotient at memory address 031 and Remainder at memory address 030. The program should not modify NUMI or NUM2. Check the result and the STATUS register bits. b) Repeat with the following values for NUMI and NUM2 NUMI NUM2 OxFA Ox67 0x96 Ox05 Ox08 0x70 c) Step through the program using the Step Over command of the simulator and monitor the file registers and the WREG using the various views.