Skip to content

An implementation of Tetris in Assembly MIPS using infra red controller.

Notifications You must be signed in to change notification settings

brenoxp/Tetris-Assembly-MIPS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetris Assembly MIPS

An implementation of Tetris in Assembly MIPS using infra red controller.

Register used

$s7 is used to save initial $sp position across all execution of the game, this register should never be used with another purpose

Memory positions used

Memory address: ($sp - offset)

  • Number of players

    • Type: int
    • Size: 4 bytes
    • Offset: 000 - 004
  • Registered keys of controller

    • Type: IrDA Type
    • Size: 64 bytes
    • Offset: 004 - 068
  • Board positions

    • Type: int
    • Size: 16 bytes
    • Offset 068 - 084
  • Board matrices

    • Type: matrix
    • Size: 1000 bytes X number of players
    • Offset 084 - 1084 X number of players
  • Score

    • Type: int
    • Size: 16 bytes
    • Offset: 5000 - 5016

About

An implementation of Tetris in Assembly MIPS using infra red controller.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •