A retro game engine uses an 8-bit unsigned register to store the speed of a player's character. The character's base speed is represented by the binary value 11010100211010100_2110101002. When the player collects a speed-boosting item, the value 010011112 01001111_2\,010011112 is added to the speed register.
The hardware performs the addition shown below:
| 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | ||
| 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | + | |
| 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 |
Explain what has occurred as a result of this calculation, and describe how this affects the stored speed value.
117 exam-style questions on Edexcel GCSE Computer Science Binary, covering Binary representation and number of states, Unsigned and two's complement integers, Converting denary and 8-bit binary, Binary addition and binary shifts, Concept of overflow, and Hexadecimal notation and conversion. Each one has a worked solution and a mark scheme showing where the marks go.