Question: Which ARM7TMI microprocessor register contains the four flags (C, V, N and Z flags) and what are their main functions? What are the values
Which ARM7TMI microprocessor register contains the four flags (C, V, N and Z flags) and what are their main functions? What are the values of flags C, V, N and Z after the following sequence of instructions are executed? Assume that initially all flags are RESET (set to Zero). MOV r2, #15 MOV r3, #10 MUL r4, r3, r2 ADDS r2, r4 MOV r4, #20 SUB r4, r3 Question No. 1 continues on page 2. 1 EE3002 What will be the values of flags (C, V, N and Z) if instruction ADDS is changed to ADD in the above sequence of instructions? Briefly explain the purpose of "S" suffix in ARM7TMI microprocessor. (15 Marks)
Step by Step Solution
3.52 Rating (155 Votes )
There are 3 Steps involved in it
The question asks for the values of the flags CVNand Z after executing a sequence of instructions on an ARM7TMI microprocessorassuming all flags are initially reset set to zeroThe instructions are MOV ... View full answer
Get step-by-step solutions from verified subject matter experts
