Monday, 25 February 2019

Assembly: Hello World x 10



program helloLoop;

// Phil Gardner

#include( "stdlib.hhf" );

static

begin helloLoop;


    // Will countdown from ten
    mov( $0A, al );

    countDownLoop:


        stdout.put( nl, "*HeLL0 A$$emBLeD w0RLd*", nl );

        dec( al );

    jg countDownLoop;

end helloLoop;