set(HEADERS cpu.h decoding.h memory.h op.h)
set(SOURCE cpu.c decoding.c memory.c op.c)
add_library(nes_cpu ${SOURCE} ${HEADERS})
target_link_libraries(nes_cpu log.c)