Joined: 15 Oct 2006 Posts: 34 Location: N.Wales U.K.
Posted: Mon Dec 26, 2022 9:22 pm Post subject: Bascom 8051 simulator seems to have some bugs?
Hi all.
I have been working on some asm projects and bascom 8051 compiler simulator doesn't seem to recognise some asm instructions, these are:
movx a,@r0
movx @r0, a
in general movx instruction is indistinguishable from mov, i.e., it does not recognise movx(xram). Also, the xchd doesn't seem to be recognised as well.
The problem occurs when trying to access xram only, Iram access works fine.
Joined: 15 Oct 2006 Posts: 34 Location: N.Wales U.K.
Posted: Sun Jan 08, 2023 10:03 pm Post subject: workaround
Hi all,
I have managed to do a workaround for the above, when declaring asm variables I use iram, however when using high level(i,e,. basic) I place my variables in xram. Everything works fine like this.
Although and despite these problems, bascom 8051 is a good compiler.
Joined: 15 Oct 2006 Posts: 34 Location: N.Wales U.K.
Posted: Sat Nov 04, 2023 10:18 pm Post subject:
There are some issues regarding Bascom 8051. The movx @r0,a and movx a,@r1 are not recognized by bascom v18, also the printer output interface is not working as it should. Mark please address these issues.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum