preview

Itc300 Unit 1 Assignment

Decent Essays

ASSESMENT – 3 PITIPANA ACHCHIGE JAYANI SASIKALA SOMAWEERA STUDENT ID-11583662 COMPUTER ORGANISATION AND ARCHITECTURE (ITC544) 1. a) b) c) 2. ORG 100 Load Addr /Load address of first number to be added Store Next /Store this address is our Next pointer Load Num /Load the number of items to be added Store Counter /Store this value in Counter to control looping Loop, Load Sum /Load the Sum into AC AddI Next /Add the value pointed to by location Next Store Sum /Store this sum Load Next /Load Next Add One /Increment by one to point to next address Store Next /Store in our pointer Next Load Counter /Load the loop control variable Store Counter /Store this new value in loop control variable Skipcond 000 /If control variable >= 0, skip next instruction Jump Loop /Otherwise, go to Loop Halt /Terminate program Addr, Numbers to be summed start at location 0 Next, A pointer to the next number to add Num,/The number of values to add Sum, Dec 0 /The sum Counter, Hex 0 /The loop control variable One, Dec 1 /Used to increment and decrement by 1 Dec 10 /The values to be added together Dec 10 Dec 20 Dec 30 Dec 40 Dec 50 3. a.) Number of Rows = 256 *1024*1024 = 262144 …show more content…

As such, The particular consideration in the advertising plus the imagination in the general public include grabbed by it. During the last few years,Cell phone devices have received dramatical increase as well as there are at present close to a pair of billion dollars usersworld-wide. Indeed, in many formulated countries, cellular phones are getting to be an essential company deviceas well as a part of everyday life, as well as in many creating countries, cellular phones tend to be easily supplantingantiquated wireline

Get Access