-6
Assuming a basic video game formed by a processor and a memory to store the game processing and input requests for a joystick, and that the ALU can add up to three different joystick input requests. The table below shows binary encodings with no flag, from each request for the joystick.
Requisição Código Requisição Código
Up 0010101 A 1001010
Down 1010101 B 1110101
Left 1101010 C 1001001
Right 0011101 Start 0010110
a) How much should ALU (width of variable w) support joystick requests so as to no overflow. The table below shows binary encodings with no flag for each request from joystick.
b) How to reduce production costs of a processor with lower capacity arithmetic, ie, 7 bits, explain technically, what would be the practical result in the game, if the player makes a combination that causes an overflow. Discuss.
Interesting statement... But what is the doubt?
– lazyFox
It’s a job for us to solve?
– Ricardo Pontual
Yes guys.. It’s a question of a proof that I found interesting and put here!
– Bruno Alencar
I already did, in the case posted here for the resourcefulness of the same question!
– Bruno Alencar