gnupic: gpasm question/may be a bug


Previous by date: 18 Oct 2002 20:07:06 -0000 pic programmer, Nicolas Jouandeau
Next by date: 18 Oct 2002 20:07:06 -0000 Re: gpasm question/may be a bug, Samuel Tardieu
Previous in thread:
Next in thread: 18 Oct 2002 20:07:06 -0000 Re: gpasm question/may be a bug, Samuel Tardieu

Subject: gpasm question/may be a bug
From: Tobias Schlottke ####@####.####
Date: 18 Oct 2002 20:07:06 -0000
Message-Id: <Pine.LNX.4.31.0210182155310.18298-100000@lemorio.netcs.com>

Hi,

I wrote the following code for
a pic 16f84

	xorwf PORTB,PORTB
	xorwf PORTB,f
	addwf PORTB,W

First line is want I wanted.
The second line is I thought is
the same like the first one.
The third is what I got.

Here is the listing of the assembling:

0024 0706      00061         xorwf PORTB,PORTB
0025 0686      00062         xorwf PORTB,f
0026 0706      00063         addwf PORTB,W

You see the opcode of first and third line is the
same.

Is this the intended behaviour of gpasm?
I would assume that is a bug.

My gpasm version is:

gpasm-0.10.0 alpha

Best regards,
Toby



Previous by date: 18 Oct 2002 20:07:06 -0000 pic programmer, Nicolas Jouandeau
Next by date: 18 Oct 2002 20:07:06 -0000 Re: gpasm question/may be a bug, Samuel Tardieu
Previous in thread:
Next in thread: 18 Oct 2002 20:07:06 -0000 Re: gpasm question/may be a bug, Samuel Tardieu


Powered by ezmlm-browse 0.20.