Mercurial > repos > blastem
diff cpu_dsl.py @ 2468:0ca78837e4d2
Implement ext instruction in new 68K core
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 24 Feb 2024 22:54:36 -0800 |
parents | 679c31768013 |
children | ea37200967c7 |
line wrap: on
line diff
--- a/cpu_dsl.py Sat Feb 24 21:07:38 2024 -0800 +++ b/cpu_dsl.py Sat Feb 24 22:54:36 2024 -0800 @@ -712,6 +712,7 @@ fmt = '\n\t{dst} = {src} & 0x80 ? {src} | 0xFF00 : {src} & 0x7F;' else: fmt = '\n\t{dst} = {src} & 0x8000 ? {src} | 0xFFFF0000 : {src} & 0x7FFF;' + prog.lastSize = params[0] return fmt.format(src=params[1], dst=params[2]) def _getCarryCheck(prog):