Questions tagged [chip-8]

Use this tag to refer about the interpreted programming language CHIP-8 designed to make video-game programming easier and developed originally for 8-bit microcomputers by Joseph Weisbecker in the mid-1970s.

31 questions
-2
votes
1 answer

A variable is reverting to a previous value after being assigned to with an assignment statement

I am writing a simple chip8 emulator. I have a value called programCounter(PC). The problem is that once I return from the Instruction1( which modifies PC), PC returns to the value it was before being modified by the method. Example Before…
1 2
3