samedi 18 avril 2015

Initialize String Assembly

In i386 I'm trying to initialize a string in data. This is stupid, but I can't get it to work.



sentence:
.char 'h',0


says .char is an illegal pseudo op. Clearly I'm not doing it right, though



sentence: db 'h',0


gives nothing either.


Aucun commentaire:

Enregistrer un commentaire