Oxygen Basic

Programming => Problems & Solutions => Topic started by: chrisc on March 19, 2018, 02:57:33 PM

Title: does this registry conversion from 32bit ASM to 64bit correct
Post by: chrisc on March 19, 2018, 02:57:33 PM
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
Title: Re: does this registry conversion from 32bit ASM to 64bit correct
Post by: Charles Pegge 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.
Title: Re: does this registry conversion from 32bit ASM to 64bit correct
Post by: chrisc 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