Tuesday, November 23, 2021

simple program print hello word in assembly language

Include irvine32.inc
;AddTwo.asm-adds two 32-bit integer.
;chapter3 example
.386
.model flat,stdcall
.stack 4096
ExitProcess proto,dwExitCode:dword
.data 
msg byte "Hello word",0
.code
main proc
  mov edx,offset msg
  call WriteString
call dumpregs
  invoke ExitProcess,0
  main endp
  end main

No comments:

Post a Comment