Search found 1 match

by olivs3268
Sun Sep 03, 2023 1:35 pm
Forum: Art of 64-Bit Assembly
Topic: Magic Instruction prior to c function call
Replies: 1
Views: 2541

Magic Instruction prior to c function call

Hello,

After assembling and linking the listing4-8 (page 202, "the art of 64 Assembly", vol1), i encounter an issue: the .exe file does not behave as expected.
However, if i change the "magic instructions" in the asmMain procedure code as follow:


asmMain proc
sub rsp, 56; instead of "sub rsp ...