Write a Program to Decrements an 8-bit number using 8086 (System Programming)

No comments


 Decrements an 8-bit number :

include “emu8086.inc”
ORG 100h
MOV AL, 05H
DEC AL
CALL PRINT_NUM
RET .
DEFINE_PRINT_NUM
END


Output:

Before Execution:   After Execution:

AL = 05H                AL = 04H

No comments :

Post a Comment

Subscribe

Milan Panda
Admin
About Me | Contact
Copyright 2023-2024 © Programming1011 . 🎀 Developed and Design By- Milan Panda. Happy Holi All Of You 🎀