Micro processor Lab Manual / Check A Particular Bit Value Is 0 Or 1 ALP

Program Name

Write a Assembly Language Program for Check A Particular Bit Value Is 0 Or 1.
Theory
Instruction Mnemonic Operand Comments
MVI C,00 Move immediately input data to register C
LDA 8100 Content of memory location 8100 is copied in accumulator
ANI 10 AND operation is done between accumulator and specified data
JZ XX The program sequence is transferred to address 800C if zero flag is set to 1
MVI C,11 Move immediately input data to register C
MOV A,C Move contents of register C and carry to accumulator
STA 8200 The contents of accumulator are copied into the memory address 8200
HLT The processor finishes executing the current instruction and halts any further execution.
Program Code


Online compiler for 8085 Microprocess Compiler


Home     Back