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

No comments


Increment an 16-bit Number:


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



Output :


Before Execution:     After Execution:

AX = 0005H               AX = 0006H

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 🎀