You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use some code like this, but I don't know how to reference the msg_hello variable:
var puts = asm.CreateLabel();
var msg_hello = asm.CreateLabel();
asm.Label(ref puts);
...
asm.mov(si, msg_hello); // How to do this instruction? It's incorrect like this.
asm.call(puts);
asm.Label(ref msg_hello);
asm.db(Encoding.ASCII.GetBytes("Hello world!"));
asm.db(0x0d, 0x0a, 0);
As I explained in the comments, I don't know how to reference the msg_hello variable, and the way I wrote it is clearly incorrect.
Could you please explain me how to make the code correct and work?
Thank you.
The text was updated successfully, but these errors were encountered:
I'd like to assemble some code like this:
I use some code like this, but I don't know how to reference the
msg_hello
variable:As I explained in the comments, I don't know how to reference the
msg_hello
variable, and the way I wrote it is clearly incorrect.Could you please explain me how to make the code correct and work?
Thank you.
The text was updated successfully, but these errors were encountered: