Error Compiling Registers

Hello,

When trying to compile the registers utility I get the following error:

Assembly Register Calling Convention/projects/starter/Registers/Registers/StackWalkthrough.s:40:11: error: invalid operand
pop %rbp
^
Command CompileC failed with a nonzero exit code

Figured it out. On M1 Macs in order for it to compile you need to change the build target to My Mac (Rosetta).

This topic was automatically closed after 166 days. New replies are no longer allowed.