1. a) Write an ALP to move a block of 5 data bytes from RAM location 20H to 40H.
b) Write an 8051 C program to find the sum of first 10 integer numbers.
2. a) Write assembly language program to exchange 5 bytes of data at internal memory
20H location to 40H location.
b) Write an 8051 C program to find the sum of first 10 integer numbers.
3. a) Write an ALP to exchange 5 bytes of data from external memory location C000H with
internal memory 10H location.
b) Write an 8051 C program to find factorial of a given number.
4. a) Write an ALP to add the byte in the RAM at 34h and 35h, store the result in the
registers R5 (LSB) and R6 (MSB), using indirect addressing mode.
b) Write an 8051 C program to find factorial of a given number.
5. a) Write an ALP to subtract the bytes in internal RAM 34h and 35h store the result in
registers, R5
(LSB) and R6 (MSB).
b) Write an 8051 C program to find factorial of a given number.
6. a) Write an ALP to multiply two 8-bit numbers stored at 30h and 31h and store 16-bit
result in 32h and 33h at internal RAM.
b) Write an 8051 C program to find factorial of a given number.
7. a) Write an ALP to perform division operation on 8-bit numbers by 8-bit number.
b) Write an 8051 C program to find factorial of a given number.
8.a) Write an ALP to move a block of 5 data bytes from RAM location 20H to 40H.
b) Write an 8051 C program to find the sum of first 10 integer numbers.
9 a) Write assembly language program to exchange 5 bytes of data at internal memory
20H location to 40H location.
b) Write an 8051 C program to find the sum of first 10 integer numbers.
10 a) Write an ALP to exchange 5 bytes of data from external memory location C000H with
internal memory 10H location.
b) Write an 8051 C program to find factorial of a given number.
11 a) Write an ALP to add the byte in the RAM at 34h and 35h, store the result in the
registers R5 (LSB) and R6 (MSB), using indirect addressing mode.
b) Write an 8051 C program to find factorial of a given number.
12 a) Write an ALP to subtract the bytes in internal RAM 34h and 35h store the result in
registers, R5
(LSB) and R6 (MSB).
b) Write an 8051 C program to find factorial of a given number.
13 a) Write an ALP to multiply two 8-bit numbers stored at 30h and 31h and store 16-bit
result in 32h and 33h at internal RAM.
b) Write an 8051 C program to find factorial of a given number.
14. a) Write an ALP to perform division operation on 8-bit numbers by 8-bit number.
b) Write an 8051 C program to find factorial of a given number.