0b00000010000000100000001 0x000f 0x0000 0x5554 0x5554 0x5554 0x7
testing even samples will be testing 255 instead of 254 in simulation
        elif state_r == t_State.EVEN_SAMPLES:
            if (done_s == NO):
               rd_s.next = YES
               reset_col.next = 0
            elif (offset_r <= 65278):
                reset_col.next = 1
                jp_flgs.next = 7
                if (addr_not_reached == 1):
                    offset_x.next = offset_r + 256
                    row_x.next = row_r + 1
                if (row_r == 254):
                    if (col_r <= 254):
                        row_x.next = 0
                        offset_x.next = offset_r - 65022
                        col_x.next = col_r + 1
                    else:
                        offset_x.next = 0
                        row_x.next = 0
                        col_x.next = 0
                        state_x.next = t_State.ODD_SAMPLES