Answered step by step
Verified Expert Solution
Question
1 Approved Answer
These tasks must be written in 8085 assembly language.(www.sim8085.com is good environment to do it) 1. Make an If statement using JNZ instruction. If the
These tasks must be written in 8085 assembly language.(www.sim8085.com is good environment to do it)
1. Make an If statement using JNZ instruction. If the flag is raised, save the number 10 in the main memory location; if not, save number 5 in the same memory location. Define number for checking as constant. (4p) 2. Use any compare instruction as input for a jump instruction. (4p) 3. Make a cycle that counts from o until 10 (or any other constant number). Then, save the resulting number in the main memory. (6p) 4. Add to the previous task the following functionality. First, count how many odd numbers are between zero and the target number. If the resulting number is larger than five, go to the end of the program. 6p) You can make single program or seperateStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started