.model tiny
.code

ORG 100H
HOST:
mov ah,9
mov dx,OFFSET HI
int 21H

mov ax,4C00H
int 21H

HI DB 'hello world$'

END HOST

can u tell me is there any error in this codes and can u also tell me how to assemble it i am using masm32

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.