- #1
SuperMiguel
- 110
- 0
Hey guys, I am going to take a test monday for a job interview and they just told me that it will include basic assembly programming questions like: (Assume a 68000 processor)
- Find the factorial of an integer number A.
- Two numbers, A and B are stored in memory locations 2000 and 2010 respectively.
Only if both A and B are greater than 1 and less than 16, compute (A to the power of B) and
write the result in memory location 2020; if not, write a value of 0 in memory location 2020.
- Find the binary equivalent of a 2 digit Binary Coded Decimal number. The Least
Significant Bit of the BCD is stored in memory location 1000 and the Most Significant Bit is in
location 1001. Store the result in location 1002.
I need to be able to answer questions like this by monday on ASM... Any good online resource or book i can pick to quickly learn this over the weekend?? Thanks
- Find the factorial of an integer number A.
- Two numbers, A and B are stored in memory locations 2000 and 2010 respectively.
Only if both A and B are greater than 1 and less than 16, compute (A to the power of B) and
write the result in memory location 2020; if not, write a value of 0 in memory location 2020.
- Find the binary equivalent of a 2 digit Binary Coded Decimal number. The Least
Significant Bit of the BCD is stored in memory location 1000 and the Most Significant Bit is in
location 1001. Store the result in location 1002.
I need to be able to answer questions like this by monday on ASM... Any good online resource or book i can pick to quickly learn this over the weekend?? Thanks