Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What is a data transfer instruction?
Think about how we move data in a program.
Name one type of control instruction.
This instruction controls the flow of program execution.
Which instruction type moves data between registers?
Think about what role data transfer instructions play in programming.
True or False: Jump instructions can alter the execution flow of a program.
Recall the purpose of jump instructions.
Given an integer variable A and an integer B. Write a function using both data transfer and jump instructions to add A and B, and if A equals B, jump to a procedure that prints 'Equal'.
Think about how the addition might affect a condition.
Write a small assembly program using a one-address instruction format to compute 'A = A + 5', making sure to use an accumulator.
Consider the role of an accumulator in this operation.
5 more questions in this section. Enroll free to practise them all.
Enroll free