mov ecx, 0x400000
mov [ecx], 0x53 // 'S' inc ecx mov [ecx], 0x54 // 'T' inc ecx mov [ecx], 0x52 // 'R' inc ecx mov [ecx], 0x00 This sequence would put the ASCII string “STR” at the memory location 0x400000. A variant of this is to construct the string via one or more PUSH instructions:
0 Comments
Leave a Reply. |
AuthorVitali Kremez Archives
August 2016
Categories |