News for hackers. Stuff that matters.
Re:How do emulators work and how are they written? by zackattack on Sunday May 16, 2010 @03:37AM (#1351615)
I lack formal CS training: "0 0 2 0 1 2 1 0 1" is a sequence of 9 integers. Why would you allocate 256 bytes? Edifying post, thanks.
Re:How do emulators work and how are they written? by daeken on Sunday May 16, 2010 @03:46AM (#1351626)
Your addresses in this simple instruction set are 8-bit; 256 bytes gives you a full 8-bit memory space.
Re:How do emulators work and how are they written? by johnl87 on Sunday May 16, 2010 @02:18PM (#1352477)
Not every number is an integer. Could be a char or a short too. The sizes of those depends on the platform and if it's signed or unsigned.