hex/pointers/pointer_arithmetics.fj¶
———- Ptr ++/–/+=/-=
Macros¶
hex¶
hex.ptr_inc—ptr[:w/4] += 2whex.ptr_dec—ptr[:w/4] -= 2whex.ptr_add—ptr[:w/4]+= value * 2w (advance ptr by value)hex.ptr_sub—ptr[:w/4]-= value * 2w (retreat ptr by value)hex.ptr_index—dst[:w/4] = ptr + index*2w— the address of the index-th dw-aligned op past*ptr.