The MASM Forum

General => The Laboratory => Topic started by: K_F on February 15, 2016, 06:41:35 PM

Title: Where it's @ or @@
Post by: K_F on February 15, 2016, 06:41:35 PM
Trying to remember with regard to the J../Jmp @F, JMP @B instructions.

Wasn't there, somewhere in the masm syntax (or some offshoot of it), where you could jmp 2 or more @'s forward or backwards.

eg:   jmp @@B, jmp @@@F  would jump 2@'s back or 3@'s forward

It would make for nice control structures if we had this.. and help reduce our label counts ?
;)
Title: Re: Where it's @ or @@
Post by: hutch-- on February 15, 2016, 07:33:17 PM
Doesn't mean its not there but I have never heard of that one.
Title: Re: Where it's @ or @@
Post by: Vortex on February 16, 2016, 04:40:38 AM
Named labels are more readable :

jmp this_label
.
.
.
this_label:
.
.
.