in

MIPS(Making Intermediate Programmers Suffer)

MIPS(Making Intermediate Programmers Suffer) | programmer-memes, program-memes | ProgrammerHumor.io
programmer-memes, program-memes | ProgrammerHumor.io

Content

Readin a Code is easier then You think! (Featuring: Python 3 C!) print ("Enter a Number") 4 inputt) if(x 5): else: print ("x is bigger than 5!") print (" is smaller than 5!") Pathon makes 3 it Simple! (and easy on the eyes) int x: printf("Enter a number n"); scanf("d", x); if(x 5) printf("x is larger than 5!"); lelsef printf("x is smaller than 5!"); C’s a bit harder.. but you can still See what’s going on! TIPS Assembl. la to, n Iw s0, O(St0) addi vO, Szero, 5 syscall move s1, vo sit StO, 51, 50 beg tO, zero, GRT bne to, Szero, LEQ GRI LEQ: la Sa0, str2 syscall li v0, 10, syscall la t0, n Iw Ss0, O(St0) addi SvO, zero, 5 ve s1. SvO MIPS Assembl. o9: