Author Topic: Where it's @ or @@  (Read 2675 times)

K_F

  • Member
  • *****
  • Posts: 1673
  • Anybody out there?
Where it's @ or @@
« 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 ?
;)
'Sire, Sire!... the peasants are Revolting !!!'
'Yes, they are.. aren't they....'

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 8498
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Where it's @ or @@
« Reply #1 on: February 15, 2016, 07:33:17 PM »
Doesn't mean its not there but I have never heard of that one.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

Vortex

  • Member
  • *****
  • Posts: 2583
Re: Where it's @ or @@
« Reply #2 on: February 16, 2016, 04:40:38 AM »
Named labels are more readable :

Code: [Select]
jmp this_label
.
.
.
this_label:
.
.
.