Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The reason for using char datatype to represent memory in the CHIP8 emulator is because each memory address in the CHIP8 system is 8 bits (1 byte) long. The char datatype in C also represents a single byte of memory. Therefore, using char makes it easier to manipulate and store the memory of the CHIP8 system.