Programacion

Páginas: 113 (28239 palabras) Publicado: 5 de diciembre de 2012
Not eXactly C (NXC)
Programmer's Guide
Version 1.0.1 b33
October 10, 2007

by John Hansen

Contents
Introduction................................................................................................................. 1 The NXC Language .................................................................................................... 2 2.1 Lexical Rules...................................................................................................... 2 2.1.1 Comments ................................................................................................... 2 2.1.2 Whitespace.................................................................................................. 2 2.1.3 NumericalConstants................................................................................... 3 2.1.4 Identifiers and Keywords............................................................................ 3 2.2 Program Structure ............................................................................................... 3 2.2.1 Tasks ........................................................................................................... 3 2.2.2Functions..................................................................................................... 4 2.2.3 Variables ..................................................................................................... 6 2.2.4 Structs ......................................................................................................... 7 2.2.5Arrays.......................................................................................................... 8 2.3 Statements ........................................................................................................... 9 2.3.1 Variable Declaration ................................................................................... 9 2.3.2 Assignment............................................................................................... 10 Control Structures ..................................................................................... 10 2.3.3 2.3.4 The asm Statement.................................................................................... 13 2.3.5 Other Statements....................................................................................... 14 2.4 Expressions....................................................................................................... 15 Conditions ................................................................................................. 16 2.4.1 2.5 The Preprocessor............................................................................................... 16 2.5.1#include..................................................................................................... 16 2.5.2 #define....................................................................................................... 17 ## (Concatenation).................................................................................... 17 2.5.3 2.5.4 Conditional Compilation........................................................................... 17 3 NXCAPI................................................................................................................... 18 3.1 General Features ............................................................................................... 18 Timing Functions ...................................................................................... 18 3.1.1 3.1.2 Program ControlFunctions....................................................................... 19 3.1.3 String Functions ........................................................................................ 21 3.1.4 Array Functions ........................................................................................ 22 3.1.5 Numeric Functions.................................................................................... 23 Low-level System...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Programación
  • Programacion
  • Programacion
  • Programación
  • Programacion
  • Programacion
  • Programacion
  • Programacion

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS