Hello,
I need to use methods written in C ++ in a project written in C #, inside .NET (both) and that are contained in the same solution (as shown in the image below)
ItriedtocompiletheprojectsandaddtheC++projectreference(whichwascreatedi...
When I change the system call from int $0x80 to syscall or sysenter in this code:
mov $4, %rax
mov $1, %rbx
mov $String1, %rcx
mov $16, %rdx
int $0x80
The program ends in segmentation fault. In GDB i...
Could someone explain me how to use And, Andi, Or, Ori, Nor in Assembly mips? I would like to do something like this:
se (num1 > 0) e (num2 > 0) entao
se (num1 <= 10) e (num2 <= 10) entao
cont <- num1 + num2
se...
Interrupt vector configuration:
interruption vector:
b RESET_HANDLER
.org 0x08
b SVC_HANDLER
.org 0x18
b IRQ_HANDLER
In the first line of the IRQ_HANDLER routine, the value of register LR (seen...
I have an executable, created in Assembly language and compiled with NASM.
Is there a way to get the value, in hexadecimal, of the bytes produced by the compiler, so that I can use them in a disassembler (ie discover the generated OP codes)?...
I'm having a hard time assigning values greater than 65536 (16 bits), in my code example I assign the value of 86400 (one-day value) to a variable with DD declaration (32-bit architecture), and the following error is displayed when trying to com...
I'm trying to make a program that converts a string entered by the user into a string with the corresponding ascii codes.
But when I run the program the following error appears:
Floating point exception
Also when debugging in gdb I...
I'm studying assembly, and I found codes to work with TFT / LCD displays, and did not find information about a specific instruction, it moves multiples of a long string from the data recorders to the address recorder, however the recorder addres...
I'm trying to make a task work, but even the example I'm not able to run, the code is as follows:
section .data
SYS_exit equ 60
EXIT_SUCCESS equ 0
yourage db "How old are you: ",0
willbe db "You will be %d years old in ten yea...
Hello
I'm doing a job at ARM Assembly using the Unicamp simulator and I have a problem. I need to make a simple list with the Insert, Remove, and Print options. I am able to insert items (name and price of a product), however I am doing tests fo...