lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


David Manura <dm.lua@math2.org> writes:
> Mike Pall's dynasm does that [1].  Labels are numeric (1: to 9:) and
> can be reused.  Forward (>) or backward (<) modifiers in the jump
> opcodes disambiguate.  When I first saw this syntax, it's purpose
> wasn't immediately obvious to me.

This is traditional in assemblers (not sure what the actual origin
is), often using "b" or "f" as suffixes (e.g., 1: dostuff ... jmp 1b).

-Miles

-- 
o The existentialist, not having a pillow, goes everywhere with the book by
  Sullivan, _I am going to spit on your graves_.