assembly - X86_64 AT&T How to put one ascii letter(1byte) at the end of the text placed in register -
i need open text file. have filename in register , need add '\0' (0x00 in hex) @ end.
my register rcx contains name: e.txt , can check in gdb , presents correctly :
rcx: 0x7478742e65
there name in ascii code. i'd put '00' after , should that:
rcx: 0x007478742e65
i using assembler x86_64bit at&t
Comments
Post a Comment