I can't find any references to local labels in the MPASM User's Guide. Am I missing them or don't they exists? In Gnu as I can do this:
func_one: lwz r4,(r3)
1: addi r4,r4,1 cmpi r4,1000 bne 1b mr r3,r4 blrfunc_two: lwz r4,(r3)
1: addi r4,r4,-1 cmpi r4,0 bne 1b mr r3,r4 blrIn this example, '1' is the local label and the branch to 1b means jump backwards to the first '1' label encountered. This is quite convenient since I don't need to keep coming up with unique label names for simple loop points.
Thanks.