Hi all,
Merry Christmas!
Yes, the 8051 is a superset of the 8048. As far as I remember only the
8048 user flags are different and had to be emulated with the much more
powerful bit ALU of the 8051. I created a header file with a number of
macros to assemble 8048 code with / for 8051. The reason was I was
making some code for the 8048 and I had a simulator for the 8051. By the
use of a macro-capable assembler I could assemble 8048 code directly.
I was using the "Telemark Cross Assembler". I used it for other CPUs
as well, e.g. Z80. And for a self-made (in an FPGA) CPU, since it is
easily expandable/adoptable to other CPOUs...
I uploaded it to the files section of the list under the "Software &
Plugins" category.
Johannes
On 2015-12-24, 17:57 grantbt@jps.net [PolySix] wrote:
>
>
> Hi,
>
> Very cool adapter. I also use the 8051 a lot, so I have a couple of
> questions.
>
> Regarding the adapter, is it possible to print a PDF of the schematic.
> That way we don't have to install the software and it's easier to see
> the adaptation than the actual PCB.
>
> Regarding compatibility, is the 8051 a superset of the 8048/49? Does it
> have mostly the same instruction set and peripherals?
>
> By the way, at my work we probably have some good quality 8048 tools
> (assembler, etc) on 5.25" floppies that I could probably attempt to
> read. I'm not sure if they are better than the "universal" assemblers
> I've seen. I think we even have an old ICE somewhere. What 40-pin DIP
> 8051 where you planning on using with your adapter? I like the newer
> ones that have built-in debugging rather than ICE.
>
> GB
>
>