Harsh4521
Newbie level 1
1)program in 8086 to add first 10 even numbers
2)assembly level language Program to enter 10 numbers starting from memory location 6000H. The number should be one byte say for example: - 35H, 46H, 72H etc. Use logical instruction to mask only the uppernibbles and store the result in memory location starting from 7000H.(after execution the results should be 05,06, 02 etc..)
3)assembly level language Program to enter 5 numbers in memory laocations staring from 8000H. swap the lower and upper nibbles of the given number and store the results in memory location 9000H.(before execution 8000H:-31H, 56H, 78H etc,, After exection 9000H:-13H , 65H, 87H). Use Logical and Rotate instructions.
4)8086 assembly language program to convert BCD to 7 segment codes using XLAT instruction.
5)For the following data write an 8086 Assembly level language program.
Before execution: after execution
8000:10 9000:11 8000:55 9000:50
8001: 20 9001:22 8001: 44 9001:40
8002:30 9002:33 8002:33 9002:30
8003:40 9003:44 8003:22 9003:20
8004:50 9004:55 8004:11 9004:10
Please help...
2)assembly level language Program to enter 10 numbers starting from memory location 6000H. The number should be one byte say for example: - 35H, 46H, 72H etc. Use logical instruction to mask only the uppernibbles and store the result in memory location starting from 7000H.(after execution the results should be 05,06, 02 etc..)
3)assembly level language Program to enter 5 numbers in memory laocations staring from 8000H. swap the lower and upper nibbles of the given number and store the results in memory location 9000H.(before execution 8000H:-31H, 56H, 78H etc,, After exection 9000H:-13H , 65H, 87H). Use Logical and Rotate instructions.
4)8086 assembly language program to convert BCD to 7 segment codes using XLAT instruction.
5)For the following data write an 8086 Assembly level language program.
Before execution: after execution
8000:10 9000:11 8000:55 9000:50
8001: 20 9001:22 8001: 44 9001:40
8002:30 9002:33 8002:33 9002:30
8003:40 9003:44 8003:22 9003:20
8004:50 9004:55 8004:11 9004:10
Please help...