Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/05/02 07:41
Read: times


 
#23930 - RE: Assembler programming
assume that your registration number is represented in the following manner;
X1,X2,X3.X4,X5,X6,X7
the values indicated by the three digits X5,X6 and X7 gives the operations that should be performed upon the first four digits X1,X2,X3,and X4. let us further assume that value of each digit X5,X6 and X7 gives following operations;

if, 0 or 1 -perform addition
2 or 3 -perform ubtraction
4 or 5 -perform multification
6 or 7 -perform division
8 -perform AND operation
9 -perform the OR operation

write an assembly language program to do the following
for your registration number ,perform

a) X5(X1,X2) i.e. do the operation indicated by X5 on X1 and X2

b)then X6(X5(X1,X2),X3) i.e. perform the operation indicated by X6 on the resultof step (a) and on X3

c) next do X7(X6(X1,X2),X3)X4) i.e.perform the operationindicated by X7 on the result of step (b) and on X4

d) store the result of step (c) at a specific memory location


Please send me a nswere for above

Thank you...

List of 9 messages in thread
TopicAuthorDate
Assembler programming            01/01/70 00:00      
RE: Assembler programming            01/01/70 00:00      
RE: Assembler programming            01/01/70 00:00      
RE: Assembler programming            01/01/70 00:00      
RE: Assembler programming            01/01/70 00:00      
RE: Assembler programming            01/01/70 00:00      
RE: Assembler programming            01/01/70 00:00      
RE: Assembler programming            01/01/70 00:00      
RE: Assembler programming            01/01/70 00:00      

Back to Subject List