Introduction

Affiche le contenu du registre 4 pour proc MIPS (xspim)

Ce code affiche le contenu du registre 4 d’un processeur MIPS.

    .text
    .globl    __start

__start:  ori   $2,$0,4;  Syscall 4
    syscall
    ori   $2,$0,10; Syscall 10
    syscall

Il utilise l’appel system 10 pour afficher son contenu.