Thursday, August 24, 2023


Memory Address		Object code				Mnemonics				Comment
4100				74,08					MOV A,# DATA 1			Move DATA 1 to A
4102				75,F0,04				MOV B,# DATA 2			Move DATA 2 to B
4105				A4					DIVA,B					Divide A and B
4106				90,00,45				MOV DPTR,#4500			Move 4500 to DPTR
4109				F0						MOVX @DPTR,A			Move A to DPTR
410A				A3						INC DPTR				Increment DPTR
410B				E5,F0					MOV A,B					Move B to A
410D				F0						MOVX @DPTR,A			Move A to DPTR
410F				80,FE					SJMP 410F				End

No comments:

Post a Comment