Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is the Z80 'Game Boy' CPU 8 or 16 bits?

I was reading a tutorial about creating a Game Boy emulator, I understand that the Game Boy uses an 8-bit CPU, but I can't understand why the Gameboy uses two types of data: bytes (8 bits) and words (16 bits).

If the CPU has a capacity of 8 bits, why it is possible to use 16 bits?

like image 912
Toni Avatar asked Sep 08 '13 19:09

Toni


1 Answers

The CPU and registers are 8 bit, but it can store and use 16-bit data by grouping two registers as if they were one 16-bit register. This website has some great information about the Gameboy's hardware.

like image 160
isaac tschampl Avatar answered Oct 22 '22 17:10

isaac tschampl