Mercurial > public > hwos_code
diff src/options.asm @ 222:ecadc17a028f
check opt_max correctly
author | heinrichsweikamp |
---|---|
date | Tue, 06 Jan 2015 19:24:58 +0100 |
parents | effd7259f5a5 |
children | 5a30b5b9ee4a |
line wrap: on
line diff
--- a/src/options.asm Mon Jan 05 16:13:15 2015 +0100 +++ b/src/options.asm Tue Jan 06 19:24:58 2015 +0100 @@ -181,7 +181,8 @@ cpfsgt INDF1 ; bigger then opt_min-1? bra option_check_reset ; No, reset option option_check_enum8: ; ENUM8: Check max only - incf opt_max,W + infsnz opt_max,W ; Max = 255? + return ; Yes, igonore max. test cpfslt INDF1 ; smaller then opt_max+1? bra option_check_reset ; No, reset option return ; in range, return