Question: Table Size Table(i)=Table(i)/2 Increment Counters main AREA Data, DATA, READWRITE DCD 1,2,5,4,7,21,29,18,266,2 ; Table data DCD 15,6,89,8,15,98,44,11,61,65535 EQU 20 AREA Divby2, CODE, READONLY LDR RO,

 Table Size Table(i)=Table(i)/2 Increment Counters main AREA Data, DATA, READWRITE DCD

1,2,5,4,7,21,29,18,266,2 ; Table data DCD 15,6,89,8,15,98,44,11,61,65535 EQU 20 AREA Divby2, CODE, READONLY

Table Size Table(i)=Table(i)/2 Increment Counters main AREA Data, DATA, READWRITE DCD 1,2,5,4,7,21,29,18,266,2 ; Table data DCD 15,6,89,8,15,98,44,11,61,65535 EQU 20 AREA Divby2, CODE, READONLY LDR RO, Table ; Address of Table MOV R1, #Size ; Size of Table LDR R2, [RO] ; Get Table Entry ASR R2, #1 ; Shift entry right 1 STR R2, [RO], #4 ; Store Table Entry, inc ptr SUBS R1, #1 ; Reduce count by 1 BNE Loop ; Branch back if not done B Done ; Done END Loop No Finished with table? Yes Done Flow Structure"), what is the smallest value that label Size could be given and still perform the task

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!