Search found 1 match

by sahu
Sun Jan 05, 2025 12:28 pm
Forum: Art of 64-Bit Assembly
Topic: What happens with rxc and edx registers during procedure execution? (listing2-2)
Replies: 1
Views: 4307

What happens with rxc and edx registers during procedure execution? (listing2-2)

Hello everyone,

in listing2-2 I've commented out two lines of code, since I thought, there is nothing happening in these registers:

Extract from asmMain:
...
lea rcx, fmtStr1
mov edx, leftOp
mov r8d, rightOp1
mov r9d, edx
and r9d, r8d
call printf

;lea rex, fmtStr1
;mov edx, leftOp
mov r8d ...