Search found 3 matches

by DiTBho
Sun Jan 03, 2021 11:24 am
Forum: General Discussion and Questions
Topic: MicroPython on Casio fx-CG50 Questions?
Replies: 15
Views: 15213

Re: MicroPython on Casio fx-CG50 Questions?

Doubtless it could. Do you fancy the job? ;) maybe. I have zero experience with it, yesterday I downloaded the CASIO SDK , sort of gcc-C toolchain prepared by CASIO for their SH3/4 calculators. The SDK is nothing special, an the IDE is not very powerful (I prefer Geany + DDD), but in a couple of ho...
by DiTBho
Sat Jan 02, 2021 12:31 pm
Forum: General Discussion and Questions
Topic: MicroPython on Casio fx-CG50 Questions?
Replies: 15
Views: 15213

Re: MicroPython on Casio fx-CG50 Questions?

The inline assembler is specific to the Arm Thumb instruction set, as used in STM chips (Pyboard 1.x and Pyboard D). Unless the Casio uses an STM chip it won't work. of course, but I wonder.. isn't there an inline assembly engine for SuperHitachi? My CASIO fx9860g3 has SH4 CPU. Can't it be added to...
by DiTBho
Fri Jan 01, 2021 5:08 pm
Forum: General Discussion and Questions
Topic: MicroPython on Casio fx-CG50 Questions?
Replies: 15
Views: 15213

Re: MicroPython on Casio fx-CG50 Questions?

has anyone already tried to figure out if the CASIO-uPython is able to inline assembly? ( see here )

something like

Code: Select all

@micropython.asm_??? SH???
def fun():
    movw(r0, 42)

print(fun())