
Thread: SHIN generates ASM ERROR with the 16F18877 – 97 days old
-
13th November 2018, 12:02 #1
0SHIN generates ASM ERROR with the 16F18877
Hi,
On a PIC16F18877 the SHIN command generates an ASM ERROR:
Could this also be related to renamed or moved SFRs in the newer controllers?
I'm usig the most recent compiler version.
Proton Compilers Full Installer - Proton 3.6.2.7 - Proton24 1.0.5.3
;-------------------------------------------------------------------------------
;**** Added by Fuse Configurator ****
; Use the Fuse Configurator plug-in to change these settings
Device = 16F18877
Config1 FEXTOSC_OFF, RSTOSC_HFINT32, CLKOUTEN_OFF, CSWEN_ON, FCMEN_ON
Config2 MCLRE_OFF, PWRTE_ON, LPBOREN_OFF, BOREN_OFF, BORV_HI, ZCD_OFF, ZCDDIS_OFF, PPS1WAY_OFF, STVREN_OFF, DEBUG_OFF
Config3 WDTCPS_WDTCPS_8, WDTE_OFF, WDTCWS_WDTCWS_7, WDTCCS_SC
Config4 WRT_ON, SCANE_not_available, LVP_OFF
Config5 CP_OFF, CPD_OFF
;**** End of Fuse Configurator Settings ****
;-------------------------------------------------------------------------------
Declare Xtal = 32
Declare All_Digital = TRUE
Dim Dummy[5] As Byte
Symbol MISO = PORTD.2
Symbol CLK = PORTD.0
Output CLK
Input MISO
START:
SHIn MISO, CLK, MsbPre, [Str Dummy]
DelayMS 100
GoTo START
ASM ERROR: Error[113] C:\_WORK\TESTING\A.S 6267 : Symbol not previously defined (RS1)
__SHIN_
MOVWF PP3
MOVWF PP3H
CLRF FSR0H
MOVF GEN2,W
MOVWF FSR0L
MOVF GEN2H,W
BTFSC GPR,2
CALL __SET_PIN_HIGH__
BTFSS GPR,2
CALL __PULL_PIN_LOW__
ADDFSR 0,-5
MOVFRS1,W
MOVWF FSR1H
MOVF GEN,W
MOVWF FSR1L
ADDFSR 1,5
MOVF GENH,W
IORWF INDF1,F
ADDFSR 1,-5
CLRF PP0
CLRF PP0H
MOVF PP3,W
BTFSC STATUS,Z
RETURN
-
13th November 2018, 13:06 #2
- Join Date
- Feb 2002
- Posts
- 3,120
- Total Downloaded
- 1.53 GB
Thumbs Up Received: 356
Given: 129
0Re: SHIN generates ASM ERROR with the 16F18877
I've corrected the typo in the asm listing creator and will upload an update later today.
It should have been FSR1H, and it is for the enhanced 14-bit core devices that have moved the TRIS and LAT SFRs.For more example programs for Proton and Proton24 or updates, please visit: Proton WIKI or Proton Files
-
13th November 2018, 19:18 #3
- Join Date
- Feb 2002
- Posts
- 3,120
- Total Downloaded
- 1.53 GB
Thumbs Up Received: 356
Given: 129
0Re: SHIN generates ASM ERROR with the 16F18877
I've uploaded a new full compiler setup here:
https://sites.google.com/view/rosetta-tech/home
I'll upload it to the forum later tonight.
It will make the compiler version 3.6.2.8.For more example programs for Proton and Proton24 or updates, please visit: Proton WIKI or Proton Files
-
15th November 2018, 16:28 #4
0Re: SHIN generates ASM ERROR with the 16F18877
Thanks again Les for sorting this out!
-
16th November 2018, 08:24 #5
-
16th November 2018, 20:31 #6
- Join Date
- Feb 2002
- Posts
- 3,120
- Total Downloaded
- 1.53 GB
Thumbs Up Received: 356
Given: 129
0Re: SHIN generates ASM ERROR with the 16F18877
It's my personal site for the Proton compilers, to show people "clearly" what the compilers can do. I've only, just recently, started it but I'll place more and more projects on there with graphics and code listings and explanations over time etc. I'm hoping one day to get a web hosting with a DNS name, but at the moment, they are too expensive, so I have to stick with the free 15 gig from Google.
I have some more nice projects to put up, but the DNS name is not very easy to find, and the google, built in, web design on it is dreadful. I'm busy creating a web site with HTML5, and see if the google drive will hold it correctly.For more example programs for Proton and Proton24 or updates, please visit: Proton WIKI or Proton Files
-
17th November 2018, 14:56 #7
- Join Date
- Mar 2012
- Posts
- 1,940
- Total Downloaded
- 3.30 GB
Thumbs Up Received: 182
Given: 166
0Re: SHIN generates ASM ERROR with the 16F18877
Les, I looked thro the great examples, any reason for not adding them to the PDS package?
George.
This valuable resource relies upon the very
small amount of revenue generated by displaying online advertisements
to our visitors.
The advertisements we display are relevant to this web site and your
browsing history
Please consider supporting us by disabling your ad blocker.
Note: Some users have reported issues related to ad-blockers rendering
parts of this wesite unusable,
where possible we will rectify the issues to enable you to use this
resource with adblocking enabled.
If you can, please report issues in the forum area WebSite / Forum Issues
Thank you for your attention.
This valuable resource relies upon the very
small amount of revenue generated by displaying online advertisements
to our visitors.
The advertisements we display are relevant to this web site and your
browsing history
Please consider supporting us by disabling your ad blocker.
Note: Some users have reported issues related to ad-blockers rendering
parts of this wesite unusable,
where possible we will rectify the issues to enable you to use this
resource with adblocking enabled.
If you can, please report issues in the forum area WebSite / Forum Issues
Thank you for your attention.
This valuable resource relies upon the very
small amount of revenue generated by displaying online advertisements
to our visitors.
The advertisements we display are relevant to this web site and your
browsing history
Please consider supporting us by disabling your ad blocker.
Note: Some users have reported issues related to ad-blockers rendering
parts of this wesite unusable,
where possible we will rectify the issues to enable you to use this
resource with adblocking enabled.
If you can, please report issues in the forum area WebSite / Forum Issues
Thank you for your attention.
This valuable resource relies upon the very
small amount of revenue generated by displaying online advertisements
to our visitors.
The advertisements we display are relevant to this web site and your
browsing history
Please consider supporting us by disabling your ad blocker.
Note: Some users have reported issues related to ad-blockers rendering
parts of this wesite unusable,
where possible we will rectify the issues to enable you to use this
resource with adblocking enabled.
If you can, please report issues in the forum area WebSite / Forum Issues
Thank you for your attention.
This valuable resource relies upon the very
small amount of revenue generated by displaying online advertisements
to our visitors.
The advertisements we display are relevant to this web site and your
browsing history
Please consider supporting us by disabling your ad blocker.
Note: Some users have reported issues related to ad-blockers rendering
parts of this wesite unusable,
where possible we will rectify the issues to enable you to use this
resource with adblocking enabled.
If you can, please report issues in the forum area WebSite / Forum Issues
Thank you for your attention.
This valuable resource relies upon the very
small amount of revenue generated by displaying online advertisements
to our visitors.
The advertisements we display are relevant to this web site and your
browsing history
Please consider supporting us by disabling your ad blocker.
Note: Some users have reported issues related to ad-blockers rendering
parts of this wesite unusable,
where possible we will rectify the issues to enable you to use this
resource with adblocking enabled.
If you can, please report issues in the forum area WebSite / Forum Issues
Thank you for your attention.
This valuable resource relies upon the very
small amount of revenue generated by displaying online advertisements
to our visitors.
The advertisements we display are relevant to this web site and your
browsing history
Please consider supporting us by disabling your ad blocker.
Note: Some users have reported issues related to ad-blockers rendering
parts of this wesite unusable,
where possible we will rectify the issues to enable you to use this
resource with adblocking enabled.
If you can, please report issues in the forum area WebSite / Forum Issues
Thank you for your attention.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
ASM ERROR : Linker Error
By SimonJA in forum Proton 24Replies: 15Last Post: 25th February 2018, 12:29 -
Hundreds of ASM error of the same errors. Error [126]
By wirecut in forum Proton Plus Compiler v3Replies: 2Last Post: 28th January 2012, 09:10 -
Asm error:error[118]
By Citius in forum Proton Plus Compiler v3Replies: 23Last Post: 24th April 2011, 09:34
Members who have read this thread : 29
Actions : (Set Date)
You do not have permission to view the list of names.
Proton Compiler Updates
Full install of 8-bit Proton and Proton24 Download the full compiler...
1st January 1970, 01:00