douggilliland / R32V2020

My 32-bit RISC CPU for smallish FPGAs
GNU General Public License v3.0
14 stars 3 forks source link

"Upgrade" assembler to Python 3 #65

Closed mjgpy3 closed 4 years ago

mjgpy3 commented 5 years ago

I hate to say it but the python folks are moving on :(

https://pythonclock.org

douggilliland commented 4 years ago

@mjgpy3 I upgraded to Python 3 but broke something.

Checksum should be two digits. Looks like it's now 1 digit.

start: 00000000 D4000105 bsr clearScreen_mmXGA ; Print the title 00000001 42800000 lix r8,0x0000 ; Upper left corner of screen `` Is making code:

:04000000D40001052
:04000100428000003

Looks like only 1 digit of checksum. Not sure what I broke in making code run under Py3.

I did replace xranges with ranges if that helps.

mjgpy3 commented 4 years ago

@douggilliland please double check that the python 3 stuff works. All my tests passed.

douggilliland commented 4 years ago

@mjgpy3 Compiled and ran on the hardware!!! Thanks!!!