Given the following segment of a program,
ORG $1000
LDAA #$10
DECA
BNE AGAIN
SWI
END
1- Describe the function of the program. DO NOT WRITE THE OPERATION OF EACH INSTRUCTION?.
2- Assuming that the branch instruction is executed (the branch is taken), comput the number of clock cycles required to execute the loop (DECA or BNE AGAIN)?