sdcc
Compiler warnings with SDCC
Using SDCC 3.0.0. Compiling this code #include <pic16f84.h> void main(void) { TRISA0=0; RA0=1; } and receive these warnings.[详细]
2023-03-31 16:20 分类:问答How do I get a function to be compiled at address 04 with GPLINK? (For PIC16)
I have a function which is meant to catch all the interrupt calls that will happen, But I cannot get any function to start at address 04.[详细]
2023-03-30 21:37 分类:问答How do I get an hex file generated by SDCC to be simulated in Pic Simulator IDE?
I have been searching workarounds for many days with no luck. PIC Simulator keeps telling me that the checksum of the hex file is wrong.[详细]
2023-03-30 09:08 分类:问答How to better read a value from an address that points to an address
I am wondering if there is a better way to write this: void readtcp_c(unsigned char c) { volatile char *a;[详细]
2023-03-15 05:10 分类:问答Problem using SDCC in a Makefile during the link step
The Small Device C Compiler (SDCC) will produce a ihx (Intel Hex) file even if there are undefined reference errors during the link step.This behavior causes problems when using SDCC in a Makefile bec[详细]
2023-01-08 16:42 分类:问答Ways to divide the high/low byte from a 16bit address?
I\'m developing a software on 8051 processor. A frequent job is to divide the high and low byte of a 16bit address. I want to see there are how many ways to achieve it. The ways I come up so far are:[详细]
2022-12-25 03:40 分类:问答Do all C compilers allow functions to return structures?
I am working on a program in C and usi开发者_运维知识库ng the SDCC compiler for a 8051 architecture device.[详细]
2022-12-22 07:59 分类:问答What is wrong with this arithmetic when using SDCC (Little Endian) Compiler?
I am very new at C programming and I am working on a firmware application for my MCU. This method was working fine when I was using the KEIL compiler (Big Endian) but when I switched to the SDCC compi[详细]
2022-12-21 17:13 分类:问答uploading a compiled program to a C51 microcontroller
I\'m trying to upload a compiled program to a microcontroller.. well 开发者_运维技巧my problem is not in programming or uploading things.. my problem is what to upload u.u[详细]
2022-12-16 11:18 分类:问答Code Banking with SDCC
I need to use code banking in an 8051 microcontroller to fit all the code.SDCC says it supports it, but I\'m having trouble at the linking step.[详细]
2022-12-08 23:35 分类:问答