!for flagindex, NFLAGS-1, 0 { ldx mux_flagset+flagindex ; beq pa_noflags ; 6 *26 pa_nextflag stx pa_get_remaining_flags+1 ; ldy log_least_bit,x ; 8 lda mux_ot+ybase+(NFLAGS-1-flagindex)*8,y ; pa_pn pha ; 7 tax ; lda mux_nx,x ; 6 bpl pa_pn ; lda#255 ; lda mux_ot+ybase+(NFLAGS-1-flagindex)*8,y ; 9 pa_get_remaining_flags ldx least_one_cleared ; bne pa_nextflag ; 6.75 35.75 *32 pa_noflags } ; total 40.625*32