I'm learning to program in assembly and I have a problem that is as follows:
I have a result of a subtraction in 32-bit number, and it has to return a 64-bit number.
Note: I am using a 32-bit linux vm
Good evening.
I often use NASM in VC ++ on x86 and am learning how to use MASM in x64.
Is there any way to specify where each argument goes and the return of an assembly function in such a way that the compiler manages to leave the data there...
Example I was testing, configuring outbound ports and inbound ports to be able to perform a sum, but they are not working:
ldi r21, 0x0a
ldi r22, 0x0b
out PINB, r16
out DDRB, r16
out PORTB, r17
add r21, r22
mov r17, r21
In Assembly (using FASM assembler), I would like to create a .bat file and then run it.
I can create the file normally using the functions contained in msvcrt.dll.
I close the file and try to run using system, but nothing happens (not even an...
Well I have here an issue that involves assembly and C.
The variable format has more than 4 bytes, but I can still push of it without casting and returning the old ESP value after pushing. How is it possible?
ASM
segment .d...
I am programming in Assembly and here comes an error.
To summarize, I have to make a structure to check two real values and then go to the rest of the program. Well, that was the idea. To illustrate, I'll leave a print with you:
In s...
I am studying a Node, and in this process I decided to help in the study to migrate a system in c / c ++ to node, however I am not familiar with c / c ++ and I have a code snippet that I can not understand very well he does, could you help me?...
I have a 32-bit word: 00000001001010100100000000100000
How can I isolate the first 6 most significant bits [31-26] and store it in a register? Is there any "recipe" to isolate a range of bits? How can I isolate a range of bits from a w...