Library multi_zero_u_prg
Require Import machine_int.
Require Import mips_cmd.
Import expr_m.
Local Open Scope mips_cmd_scope.
Definition multi_zero_u k z ext Z_ :=
addiu Z_ z zero16 ;
addiu ext k zero16 ;
While (bne ext r0) {{
sw r0 zero16 Z_ ;
addiu Z_ Z_ four16 ;
addiu ext ext mone16 }}.
Require Import mips_cmd.
Import expr_m.
Local Open Scope mips_cmd_scope.
Definition multi_zero_u k z ext Z_ :=
addiu Z_ z zero16 ;
addiu ext k zero16 ;
While (bne ext r0) {{
sw r0 zero16 Z_ ;
addiu Z_ Z_ four16 ;
addiu ext ext mone16 }}.