Okay, thanks Matt! Nasm is not, strictly speaking "Intel syntax". Claims to be "similar to Intel's, but less complex". I'm not sure it's actually "less complex" in this particular case... and maybe not that "similar", either. For now, "that's the way it is".
We can do:
%idefine rip rel $
(the 'i' in "%idefine" makes it case-insensitive) That works in this case, but not if it were a label (which is probably more common?)
As an alternative to putting "rel" in the brackets, we can do:
default rel
... and it will apply throughout. However, we still need the '$' (unless it's a label), or Nasm burps up a warning... and emits different code. Since a label is probably more common, I hope this won't be too much of a problem.
Best,
Frank