python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Passing array to a procedure, accessing elements using Base+Offset
I am trying to iterate through a 10 element SDWORD array in a procedure. I believe the array has all the expected values, because when I display them in main, it is how it should be.
When I pass the a...
BAS
Votes: 0
Answers: 1
Write data from a pointer to a local variable(another pointer) in assembler
replace PROC
enter 8, 0
min_i equ [bp - 2]
min equ [bp - 4]
max_i equ [bp - 6]
max equ [bp - 8]
mov bx,offset ptr_arr
mov [min_i],[bx]
mov [max_i],[bx]
...
...
LoaDeadd
Votes: 0
Answers: 1
MASM invalid character
I have succesfully compiled and run the following code using Microsoft Visual Studio 2022 and calling procedure from C# code:
.code
MyProc1 proc
add RCX, RDX
mov RAX, RCX
ret
MyProc1 endp
end
however...
Wojciech Siudy
Votes: 0
Answers: 1
Passing parameters by reference from C++ to x86 MASM
I'm trying to pass parameters by reference from C++ to a function written in assembly, but I can't seem to actually change the value within the assembly function. What am I doing wrong here?
void __de...
Bryson Weeks
Votes: 0
Answers: 0