Comment by 9rx
19 days ago
> your equivalent assembly program
Right now,
hlt
jmp $0
I intend to add more later, of course, but I until I get past this hurdle I am unable to start. Does that help narrow things down for you?
19 days ago
> your equivalent assembly program
Right now,
hlt
jmp $0
I intend to add more later, of course, but I until I get past this hurdle I am unable to start. Does that help narrow things down for you?
It doesn't link. Something about undefined symbol _main. Can you help?
It doesn't need to link. That is the complete program. Are you suggesting I need to pass a flag to the C++ compiler to disable the linker? How do I do that?
Oh, I see what you meant now. I don't think it works:
./test: line 1: hlt: command not found
./test: line 2: jmp: command not found
Do you get a dopamine hit out of this?
3 replies →