Last updated 11 months ago
Was this helpful?
Assembly Level Language Programming
Needed files for assembly programming:
Either use online emulators like sim8085, or
Software links:
8085 microprocessor emulator download link
8086 microprocessor emulator download link
Data Transfer and Instruction Set
Load register with data
Load register with data and copy content of this memory location to register C
Load content of memory location to register
Basic Arithmetic
Add two numbers, store the result at DX register and carry at CX register
Add two numbers, store the result at DL register and carry at CL register.
Subtract two numbers, store the result at DX register and borrow at CL register
Ascending Sort
Descending Sort
Count the total number of 1 in given number
Reverse the number stored in one block and store in another
Add two 16 bit number
Display string on the screen
Read the string and check whether they are same or not
Print data without Data variable
Load 00H into register B and 10H into register C. Increment content of register B and Decrement content of register C. Store result at memory locations 4000H and 4001H
Load 16-bit data of register pair from another register pair and store result
Perform AND, OR and XOR operation between 51H and A2H. Store the AND result at 9000H, OR at 9001H and XOR at 9002H
Show masking of lower and higher nibbles of 8-bit number. Store the original number in 7007H, masked lower nibble in 7008H and masked upper nibble in 7009H
SET the D6, D1 and D0 bits of 8 bits data A8H and store the result in memory location 1010H
RESET the D4, D3, D2 and D0 bits of 8-bit data 3DH and store the result in register B
Subtract with borrow
Create a continous loop using unconditional jump instruction
Test the Jump on Zero (JZ=1) condition on arithmetic operation
Test the Jump on Zero (JPE=1) condition on logical operation
Test the jump on negative (S=1) condition on arithmetic operation
Rotate right with carry the result of subtraction (DEH-FAH) two times
Load two data stored in memory location 8000 and 8001 directly to HL register. Add them. If carry exists, rotate right with carry the accumulator result three times, otherwise terminate
Convert the total number of 1 in given bit number
Swap memory blocks
Sort memory block in ascending order
Sort memory block in descending order
Convert BCD to binary
Stack implementation and add data directly
Stack implementation and add data indirectly
Use of stack to reverse the number stored in a memory stack and store in the same memory block
Reverse String