Author Topic: does this registry conversion from 32bit ASM to 64bit correct  (Read 1078 times)

0 Members and 1 Guest are viewing this topic.

chrisc

  • Guest
Hello Charles

when i convert ASM 32bit registry to 64 bit ones ,  are the below scheme correct?

Code: [Select]
Converting from 32 bit to 64 bit registers

eax  -->  rax

ebx   -->  rbx

ecx  -->  rcx

edx  -->  rdx

esi     -->  rsi

edi     -->  rdi

esp    --> rsp

ebp    -->  rbp


thanxx for ur help

Charles Pegge

  • Guest
Re: does this registry conversion from 32bit ASM to 64bit correct
« Reply #1 on: March 19, 2018, 10:01:19 PM »
Yes Chris, If you are dealing with addresses, pointers and handles. Otherwise, continue using the 32bit registers for dealing with 32bit integers.

chrisc

  • Guest
Re: does this registry conversion from 32bit ASM to 64bit correct
« Reply #2 on: March 20, 2018, 06:55:34 AM »
Thanxx a lot Charles

hope that you and others don't mind me in this forum as i'm only a beginner programmer