Become a leader in the IoT community!
Join our community of embedded and IoT practitioners to contribute experience, learn new skills and collaborate with other developers with complementary skillsets.
Join our community of embedded and IoT practitioners to contribute experience, learn new skills and collaborate with other developers with complementary skillsets.
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)“`
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
CONTRIBUTE TO THIS THREAD