1.MOV: - This instruction is used to copy the data from one place to another.
Eg: - MOV Rd, Rs (This instruction copies the content of Rs to Rd)
MOV M,Rs (This instruction copies the content of register Rs to the memory location pointed by HL Register)
MOV Rd, M (This instruction copies the content of memory location pointed by the HL
register to the register Rd.)
register to the register Rd.)
2.MVI: - move immediate date to a register or memory location.
Eg: - MVI Rd, #30H (30h is stored in register Rd)
MVI M, #30H(30h is stored in the memory location pointed by HL Reg)
3.LDA: - Load accumulator. (this instruction copies the data from a given 16-bit address to the accumulator)
Eg: - LDA 3000H (the content of memory location 3000h is copied in the accumulator)
4.STA: - the content of the accumulator is copied into the memory location.
Eg: - STA 3000H (the content of the accumulator is stored into the memory location 3000h)
write an assembly language code in gnusim8085 that swaps content of two memory locations.
6)Write a brief report on 8085 microprocessor architecture. Ans:- (Click here to View)
8)Briefly explain the following 8085 arithmetic instructions: ADD, ADC, SUB, SBB, INR, DCR. Also, write an assembly language code in gnusim8085 that performs addition and subtraction of given two 16 bit numbers. Ans:- (Click here to View)
No comments:
Post a Comment