Questions tagged [64-bit]
A 64-bit architecture is usually a system where addresses (pointers) are 64 bits wide. Sometimes, it can mean a system where the “natural” size for integer computations (the word size) is 64 bits.
64-bit
6,109
questions
0
votes
0
answers
32
views
RET to the main flow after execution of a conditional
Is there any possibility to use RET function to go back from the conditional statement to the main function (_start) where it was called from and go on with the next instructions?
Right now, it's just ...
0
votes
1
answer
45
views
Why does operand 1 in a modr/m byte change depending on the decoding mode
I'm trying to figure out why the instruction changes from add [eax], al to add [rax], al when changing the decoding mode from x86 to x64.
The instruction bytes are 00 00
I think it might be because ...
-1
votes
0
answers
30
views
Difference between comiss and comisd in x64 asm
I wrote some code to compare the value of xmm10 and xmm6 using:
comiss xmm10, xmm6 and then comisd xmm10, xmm6
The first one works, and the second one doesn't.
I tried using subss xmm10, xmm6 followed ...
0
votes
0
answers
34
views
Is there a library to reassemble and rebuild Windows PE binary? [closed]
I want to disassemble a x64 PE binary, add my own inline assembly code somewhere inside the .text section (or any other executable section), and then assemble the binary back and expect it to work.
I'...
1
vote
0
answers
48
views
Assembly jump instructions don't seem to work
bits 64
default rel
section .data
fmt db "%s", 0xd, 0xa, 0
err db "Correct usage: echo <string>"
section .text
extern printf
extern ExitProcess
global ...
0
votes
1
answer
31
views
Order in which instructions are printed/executed
Why the output is in diffrent order than it is declared?
Shouldnt the output be in this order?
aaaa
bbbb
cccc
Instead it is:
I assume the issue is in assigning "bbb" value to the text ...
1
vote
1
answer
36
views
REX encoding for instructions with the VEX prefix
[x64]
is there some generic algorithm using which I can determine relevant registers for the rex byte? I'm specifically interested in the calculation of REX for instructions with the VEX prefix (so ...
1
vote
1
answer
83
views
What is the difference between these two functions in x64 assembly?
I'm playing around with lower level stuff in C on Windows (x64) to try and learn low level concepts. I ran across something I don't understand and just wonder if someone could explain something to me....
-1
votes
0
answers
25
views
Writing x64 nasm assembly for windows [duplicate]
I would like to learn how to write x64 nasm assembly for windows but I can't find any resources for that.
And also how to compile the assembly into executable program.
So if anyone knows of a ...
-1
votes
1
answer
54
views
VB,net cannot assign the number 18446744073709551615 to a Uint64 or Uint128 [closed]
In a tool of my I run into this very high number what seems to be a uInt64.
So, I thought if I'm using a uInt128 it should work but is also generate an overflow.
How I can overcome this?
Kind regards,
...
0
votes
1
answer
76
views
Excel VBA 32-Bit to 64-Bit
I have a old Excel file with 32-bit code.
Who can turn this into 64-Bit code?
Private Declare Function SetWindowPos Lib "user32" ( _
ByVal hWnd As Long, _
...
-1
votes
0
answers
39
views
Microsoft Ink Analysis API on 64-bit Windows
I am trying to achieve handwriting shape recognition in my 64-bit WPF application using the .net framework 4.7.2. The Ink Analysis API documentation says
32-bit Support Only
Note that the Ink ...
1
vote
1
answer
38
views
Spec file for a 64-bit DLL wine wrapper
Trying to create a spec file for a WINE wrapper for a Windows 64-bit DLL.
In a 32-bit equivalent project the spec file might have contained something like this:
@ stdcall foo (long ptr) Proxyfoo
In ...
0
votes
1
answer
49
views
how to convert windows filetime 64bit hex to date and time?
i have this reg_binary (5D-07-BB-CB-60-1F-D7-01) value of the shutdowntime from the registry how to convert it to this format (DDMMYYYY HH:MM:SS)? enter image description here
is there a simple way to ...
1
vote
0
answers
87
views
WinExec not executing command - return value 0 (MASM in Visual Studio 2022)
When calling WinExec and passing the two variables to it (as per MSDN):
UINT WinExec(
[in] LPCSTR lpCmdLine,
[in] UINT uCmdShow
);
I can't seem to get a correct value returned in RAX and the ...