NASM: nested labels with more than one level

43 Views Asked by At

I want to make something like this:

.lab1:
    ; ...
    .lab2:
        ; ...
        jmp ..lab3  ; -\
        ; ...  ;       |
        ..lab3:  ; <---/
        ; ...
    .lab3:  ; <----\
    ; ...  ;       |
    jmp .lab3  ; -/

I tried two dots but it's not working and creates error. Also I tried one dot but it says that label redefined.

0

There are 0 best solutions below