Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What does INR stand for?
Think about what happens when you add one.
What operation does DCR perform?
Remember it reduces the value.
What is the purpose of the INR instruction?
Think about what increment means mathematically.
True or False: The DCR instruction is used to add one to a value.
Consider the meaning of 'to decrement'.
Write a simple program using INR and DCR that counts from 10 to 1 and prints each number.
Visualize how a countdown works.
Explain how you would implement a simple counting loop using JNZ to keep iterating until a counter reaches 0.
Think of a while loop in programming.
5 more questions in this section. Enroll free to practise them all.
Enroll free