I'm playing around with Assembly and I'm trying to print dst and src define like this:
.section __DATA,__data src: .string "hey Hello" dst: .space 20
p src outputs in HEX, but what I really want is printing the ASCII chars for a proper debugging:
(lldb) p src (void *) $3 = 0x4141414141414141
Try x/s &src.
x/s &src
(lldb) x/s &src 0x00004010: "Hello"
2.1m questions
2.1m answers
60 comments
57.0k users