❓ Help Input output using Assembly languange (.com)

Status
Not open for further replies.

Kene Seu

Forum Veteran
1614164180606.webp


.model small
.code
org 100h

entry: jmp main
inp db "Enter any character: $"
outp db "You entered: $"

main:

mov ah,09
lea dx,inp
int 21h

mov ah,01
int 21h
mov dl,al

mov ah, 09
lea dx,outp
int 21h


int 20h end entry
mga sir pa help naman DOSBOX gamit ko. gusto ko sana ipalabas yung inenter ng user.
tinry ko yang code kaso ayaw gumana.
 
1614164829595.webp

tapos ganto output nya.
1614164793096.webp

dapat "You entered: f" din ang output kaso down arrow lumabas. pahelp sa mga master dyan
 
[XX='PHC_Jayvee, c: 832953, m: 1155000'][/XX] nanonood na ako lods. kaso wala gaanong tutorial ng input output e. may ginaya naman ako kaso di gumana sa akin di ko alam kung bakit. any way salamat lods
 
Status
Not open for further replies.

About this Thread

  • 11
    Replies
  • 353
    Views
  • 3
    Participants
Last reply from:
Kene Seu

Online now

Members online
1,138
Guests online
907
Total visitors
2,045

Forum statistics

Threads
2,277,013
Posts
28,973,733
Members
1,229,686
Latest member
rubellemax1998
Back
Top