I am building a disassembler in C68 (its for fun, don't judge.) I want to use the itoa function to convert a decimal address into hex.
I am using code based on this -
Code: Select all
int i = 0;
ad = 43981;
printf("buff = %s\n", buff);
When this is compiled on the PC it works. Transposing it to the Q68 and I get an error "Parameter count incorrect for function itoa."
Does anyone know of the syntax of the C68 itoa function? I'm a bit stumped at the moment.