Marvee Amasi
Marvee Amasi
DIIDevHeads IoT Integration Server
Created by Marvee Amasi on 7/11/2024 in #code-review
How can I debug an "Illegal instruction" error in my x86-64 assembly ray tracer?
I'm working on a personal project , a simple ray tracer written in x86-64 assembly for educational purposes. It's currently in the early stages, focusing on basic ray-sphere intersection calculations. But I keep getting this error message when trying to run the program.
Illegal instruction (core dumped)
Illegal instruction (core dumped)
I included the relevant code snippet from the ray_tracer.asm file in my public repo here https://github.com/Marveeamasi/starter-raytracer-assembly/blob/main/ray_tracer.asm which focuses on setting up the initial ray and a single sphere for testing the intersection logic. I had verified that the assembler NASM is configured correctly for my architecture. Hoping to get some guidance on how to approach debugging this "Illegal instruction" error
1 replies