Course Solutions Uncategorized (Solved) : Find Number Time Following Loop Repeated Move R6 2000 Back Move R5 1000 Djnz R5 Djnz R6 Ba Q34305400 . . . .

(Solved) : Find Number Time Following Loop Repeated Move R6 2000 Back Move R5 1000 Djnz R5 Djnz R6 Ba Q34305400 . . . .

 

a) Find the number of time the following loop is repeated

MOVE R6, #2000

BACK: MOVE R5, #1000

HERE: DJNZ R5, HERE

DJNZ R6, BACK

B) Without knowing where the code of this problem is located inmemory, find the machine code for the statements DJNZ R5,HERE andDJNZ R6,BACK.

please explain.

thanks,

Expert Answer


An answer will be send to you shortly. . . . .

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

(Answered) : 3.1-Analyse the appropriateness of alternative strategies relating to market entry, substantive growth, limited growth or retren(Answered) : 3.1-Analyse the appropriateness of alternative strategies relating to market entry, substantive growth, limited growth or retren

3.1-Analyse the appropriateness of alternative strategies relating to market entry, substantive growth, limited growth or retrenchment for an organisation. Plan at least two alternative strategies, based on the strategic options