13

Standard programming structures

Introduction

Traditionally, when interfacing a PC to the outside world the procedure has been, typically, to use assembly language. Of course assembly language may be appropriate for initializing peripheral devices, writing programs which have to control hardware or writing high-speed real-time programs. But writing creative, large-scale, system-level programs in assembly language is a slow and tedious process, requiring a significant input in terms of preparation and de-bugging time. The C language has been adopted in this book because it provides functions which will enable you to access and control the hardware of a PC. In addition C has all the features expected of a high-level procedural language, making ...

Get Interfacing with C, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.