Assembly Program Code for 8 Bit Division - 8051 - AT89C51 - ASM


Flowchart :-


Program :-

ORG 0000H
MOV A,20H
MOV B,50H
DIV AB
MOV 60H,A
MOV B,40H
MUL AB
MOV 65H,A
CJNE A,30H,HERE
MOV 70H,#0FFH
HERE: SJMP HERE
END

Output :-


For more ASM programs - click here

Popular posts from this blog

Mini Militia Chat Codes - Shortforms

8051 Assembly Program Code for Sorting in Ascending Order - Keil -AT89C51