(no subject)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

(no subject)

Kees Schoenmakers
Hi All,

The test from my previous post file _has_ .global statements

        .global lab1, lab2


intern1:        mov             #1,r15
                   dec             r14
                   jz              lab1
                   nop
                   jmp             lab2

intern2:        dec             r15
                   jnz             intern2
                   ret

lab1:           mov             #2,r14
                  call    intern1
                  call    intern2
                  ret

lab2:           mov             #3,r13
                  ret
                 .end

sorry, Kees

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Mspgcc-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users