Write a Program to Decrements a 16-bit number Using 8086(System Programming)

No comments



Decrements a 16-bit number:

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


Output:

Before Execution:   After Execution:

AX = 0005H            AX = 0004H

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 🎀