Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ExitProcess PROTO
- MessageBoxA PROTO
- .data
- source db "ABCDEFGH"
- dest db 9 dup(0)
- title1 db "Result", 13, 10, 0
- .code
- main proc
- sub rsp,40
- mov al,source
- mov dest,al
- mov al,source+1
- mov dest+1,al
- mov al,source+2
- mov dest+2,al
- mov al,'2'
- mov dest+3,al
- mov al,source+4
- mov dest+4,al
- mov al,source+5
- mov dest+5,al
- mov al,source+6
- mov dest+6,al
- mov al,'2'
- mov dest+7,al
- xor r9, r9 ; BoxType = 0
- lea r8, title1 ; lpCaption
- lea rdx, dest ; lpText
- xor rcx, rcx ; hWnd = NULL
- call MessageBoxA
- mov rcx,0
- call ExitProcess
- main endp
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement