Q1 1 15 Marks Write Following Code Segment Assembly Language Instruction Set Shown Table 1 Q37037876

Q1) 1 15 marks] a) Write the following code segment in assembly language. The instruction set is shown in table 1. I) F(x) 3x

Q1) 1 15 marks] a) Write the following code segment in assembly language. The instruction set is shown in table 1. I) F(x) 3x+1 Instruction Description Load X Load contents of address X into II) if X> 1 then AC. Store X Store contents of AC at address X Add X Add contents of address X to AC X := 0; endif and store the result in AC Subtract contents of address

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.