how to null terminate a string in assembly language?

前端 未结 0 1810
余生分开走
余生分开走 2021-01-25 16:19

I am wondering how can I properly null-terminate a string in assembly language: what I did was simply setting movq $0, (position_to_terminate) and I thought this will terminate

相关标签:
回答
  • 消灭零回复
提交回复
热议问题