Skip to content

Priority queue in MIPS processor

Notifications You must be signed in to change notification settings

pubdigital/MIPS-PQ

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MIPS-PQ

Priority queue in MIPS processor

Each person will be assigned simple functions to implement using these Rules. Details on input and output are specified here.

Rules

Do:

f: 
  li $t0, 0
  andi $t0, 0x1
  Loop:
    addi $t0, 1
    move $a0, $t0
    beq $a0, $t0, End
    j Loop
  End:
  move $a1, $a0
  jr

Don't:

f: 
li $t0, 0
andi $t0, 0x1
Loop: 
addi $t0, 1
move $a0, $t0
beq $a0, $t0, End
j Loop
End: 
move $a1, $a0
jr
  • Do your damn job.

Have fun!

Most important of all, this is just an assignement and not an actual paid job so don't go bonkers, but do finish in time please.

About

Priority queue in MIPS processor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Assembly 100.0%