Hello,
I am trying to implement the switch case in hand code assembly. From the compiled code I got the following code snippet.
.sect " .switch:my_function"
.clink
$C$SW1: .word $C$L62 ; 0
.word $C$L58 ; 1
.word $C$L20 ; 2
.word $C$L54 ; 3
.word $C$L50 ; 4
.word $C$L45 ; 5
.word $C$L38 ; 6
.word $C$L31 ; 7
.word $C$L24 ; 8
.sect ".text"
My question is to load the label address should the label name start form "$" ? or it can be start with the alphabet. Also do I need to mention the section and .clink and .text in case of hand coded assembly.
I also tried using the same code in my asm function but it is not working. So the question is how do I load the label address so that I can implement the switch case.
Thanks
unicorn