Move 8-bit code to buffer references