Learning assembly and 'am trying to move from 16-bit to 32-bit.
i have this assembly code to display a string in a message box.
;tasm32/tlink32 .386 .model flat extrn MessageBoxA:proc extrn ExitProcess:proc .data head db " 'Heard melodies are sweet,",0 body db " but those unheard Are sweeter;'",0 .code begin: push 0 push offset head push offset body push 0 call MessageBoxA push 0 call ExitProcess end begin
How do i get the very string displayed in command line without using the api MessageBoxA ; what would be the assembly code like? Please give a suggestion, probably i could get going from there.