Hello Paul,
can you tell me off the top of your head how ScratchABlock deals with function calls? Especially, where arguments and return value are expected to be specified. The PseudoC doc doesn't tell anything regarding this matter.
Below an example (again for my beloved arch - PowerPC):
$r3 = arg0
$r4 = arg1
$r5 = 4
call memcpy
where $r3, $r4 and $r5 are memcpy's arguments. Here's the expected SABl C-output:
memcpy(arg0, arg1, 4);