Jump to content

Schampi

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Schampi

  • Rank
    Newbrie
  1. Bug description: The ASM-command XORWF is not supported by the integrated assembler of BoostC. Steps to reproduce: 1.) Create a new project 2.) Add a main.c file to the project with the following code 1 #include <system.h> 2 3 char var_1 = 11110000b; 4 char var_2 = 10101010b; 5 char var_3 = 000000000; 6 7 void main() 8 { 9 asm 10 { 11 movf _var_1,W 12 xorwf _var_2,W 13 movwf _var_3 ; expected result var_3 = 01011010b 14 movf _var_1,W 15 xorwf _var_2,F; expected result var_2 = 01011010b 16 } 17 while(1) 18 { 19 clear_wdt(); 20 } 21 } 3.) Compile and link the project using BoostC Expected behaviour: The compilation process should be finished successfully. The problem is 100% reproducible using the following setting IDE version: 5.6.1 Compiler: BoostC Compiler version: 1.5 Alpha Target device: PIC 16F877 OS: MS XP Professional SP2 Comments:[\b] It's possible to compile the above mentioned code using the C2C-plus compiler This bug was already posted on the Oct 8 2004, 01:12 PM by uuzh, but never answered.
×
×
  • Create New...