Kód: Vybrať všetko
DATA SEGMENT
TEXT DB 'AHOJ$'
DATA ENDS
CODE SEGMENT
ASSUME cs:code, DS:DATA
START: MOV AX, SEG DATA
MOV DS, AX
MOV DX, OFFSET TEXT
MOV AH, 09H
INT 21H
MOV AX, 4C00H
INT 21H
CODE ENDS
END START
Kód: Vybrať všetko
DATA SEGMENT
TEXT DB 'AHOJ$'
DATA ENDS
CODE SEGMENT
ASSUME cs:code, DS:DATA
START: MOV AX, SEG DATA
MOV DS, AX
MOV DX, OFFSET TEXT
MOV AH, 09H
INT 21H
MOV AX, 4C00H
INT 21H
CODE ENDS
END START
Kód: Vybrať všetko
DATA SEGMENT
TEXT DB 'AHOJ$'
DATA ENDS
CODE SEGMENT
ASSUME cs:code, DS:DATA
START: MOV AH,0 ;premaze
MOV AL,3 ;celu
INT 10H ;obrazovku
MOV AX, SEG DATA
MOV DS, AX
MOV DX, OFFSET TEXT
MOV AH, 09H
INT 21H
MOV AX, 4C00H
INT 21H
CODE ENDS
END START
da sa to aj takto, avsak je to celkom drevorubacsky sposob.kOsTi napísal:no ved raz vysli text ahoj... potom vycisti obrazovku a to cele daj do cyklu...
WTF?kami_sama napísal:no, ked mi napises softverovy router, tak sa mozeme dohodnut.
Kód: Vybrať všetko
DATA SEGMENT
TEXT DB 'AHOJ$'
DATA ENDS
CODE SEGMENT
ASSUME cs:code, DS:DATA
START: MOV AH,0
MOV AL,3
INT 10H
MOV AX, SEG DATA
MOV ES, AX
MOV BP, OFFSET TEXT
MOV AH, 13H
MOV AL, 01H
XOR BH, BH
MOV BL, 8FH
MOV CX, 4
MOV DH, 0
MOV DL, 0
INT 10H
MOV AX, 4C00H
INT 21H
CODE ENDS
END START