User:IFAA EBISA

assembly code to display a character on screen after taking from the keyboard(by biranu ebisa department of computer science @ mizan tepi university). .model small

.stack 100h

.code

start:

mov ah, 1h ; keyboard input subprogram

int 21h ; read character into al

mov dl, al

mov ah, 2h ; display subprogram

int 21h ; display character in dl

mov ax, 4c00h ; return to ms-dos

int 21h

end start or or or............. .model small .stack 100h .data .code .startup mov ax,1h int 21h mov dl,al mov ah,2h int 21h .exit end ///program to display hello my student using assembly language .model small

.stack 100h

.data

message db 'helloo my student‘, 13, 10, ‘$‘

.code

start:

mov ax, @data

mov ds, ax


 * copy address of message to dx

mov dx, offset message

mov ah, 9h ; string output

int 21h ; display string

mov ax, 4c00h

int 21h

end start