Title: Math Operations: Lab Objectives
Title: Math Operations: Lab Objectives
Lab objectives:
Reference:
Lab activity 1:
Write and assemble a program to multiply two 16-bit signed numbers. Two inputs are taken from
0x00 and 0x02 respectively, and the result is stored in address starts from 0x10.
Lab activity 2:
Write and assemble a program to calculate nth element of the Fibonacci series, where n is the
given 1 byte number in the address labelled as INPUT and stores the 16-bit (2 bytes) result into
the address labelled as OUTPUT.
For example the address 0x00 is labelled as INPUT, and 0x10 is labelled as OUTPUT. Our result
will be stored in 0x10- 0x11 as 16 bits (2 bytes).
000
010
011
00
00
01
000
010
011
07
00
0