• AVR Freaks

Typos in XC8 v2.0 User Guide

Author
qhb
Superb Member
  • Total Posts : 9999
  • Reward points : 0
  • Joined: 2016/06/05 14:55:32
  • Location: One step ahead...
  • Status: offline
2018/10/03 19:43:39 (permalink)
3 (2)

Typos in XC8 v2.0 User Guide

The section on assembly language has this awful example, missing closing quotes and required spaces between keywords.
(DS50002737A-page 153)
asm("movlw0xAA);
asm("BANKSEL(PORTA));
asm("movwfBANKMASK(PORTA));
asm("BANKSEL(PORTB));
asm("bsf RB1);


Nearly there...
#1

1 Reply Related Threads

    mad_c
    Super Member
    • Total Posts : 1194
    • Reward points : 0
    • Joined: 2010/12/12 17:48:27
    • Location: Brisbane, Australia
    • Status: offline
    Re: Typos in XC8 v2.0 User Guide 2018/10/04 14:55:57 (permalink)
    +1 (1)
    Thanks for pointing this out. It has been corrected. There were tabs used between the instruction and its operand, and these did not get expanded properly. The missing end-quotes was purely a bad omission.
    #2
    Jump to:
    © 2019 APG vNext Commercial Version 4.5