figure 9–1 common symbols for flowcharting

13
The 8051 Microcontroller, 4e By I. Scott MacKenzie and Raphael C.-W. Phan © 2007 Pearson Education, Inc. Pearson Prentice Hall Upper Saddle River, NJ 07458 FIGURE 9–1 Common symbols for flowcharting

Upload: others

Post on 06-Apr-2022

7 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: FIGURE 9–1 Common symbols for flowcharting

The 8051 Microcontroller, 4e

By I. Scott MacKenzie and Raphael C.-W. Phan

© 2007 Pearson Education, Inc.

Pearson Prentice Hall

Upper Saddle River, NJ 07458

FIGURE 9–1 Common symbols for flowcharting

Page 2: FIGURE 9–1 Common symbols for flowcharting

The 8051 Microcontroller, 4e

By I. Scott MacKenzie and Raphael C.-W. Phan

© 2007 Pearson Education, Inc.

Pearson Prentice Hall

Upper Saddle River, NJ 07458

FIGURE 9–2 Flowchart for the WHILE/DO structure

Page 3: FIGURE 9–1 Common symbols for flowcharting

The 8051 Microcontroller, 4e

By I. Scott MacKenzie and Raphael C.-W. Phan

© 2007 Pearson Education, Inc.

Pearson Prentice Hall

Upper Saddle River, NJ 07458

FIGURE 9–3 Flowchart for Example 9.1

Page 4: FIGURE 9–1 Common symbols for flowcharting

The 8051 Microcontroller, 4e

By I. Scott MacKenzie and Raphael C.-W. Phan

© 2007 Pearson Education, Inc.

Pearson Prentice Hall

Upper Saddle River, NJ 07458

FIGURE 9–4 Flowchart for Example 9.2

Page 5: FIGURE 9–1 Common symbols for flowcharting

The 8051 Microcontroller, 4e

By I. Scott MacKenzie and Raphael C.-W. Phan

© 2007 Pearson Education, Inc.

Pearson Prentice Hall

Upper Saddle River, NJ 07458

FIGURE 9–5 Flowchart for Example 9.3

Page 6: FIGURE 9–1 Common symbols for flowcharting

The 8051 Microcontroller, 4e

By I. Scott MacKenzie and Raphael C.-W. Phan

© 2007 Pearson Education, Inc.

Pearson Prentice Hall

Upper Saddle River, NJ 07458

FIGURE 9–6 Flowchart for the REPEAT/UNTIL structure

Page 7: FIGURE 9–1 Common symbols for flowcharting

The 8051 Microcontroller, 4e

By I. Scott MacKenzie and Raphael C.-W. Phan

© 2007 Pearson Education, Inc.

Pearson Prentice Hall

Upper Saddle River, NJ 07458

FIGURE 9–7 Flowchart for Example 9.4

Page 8: FIGURE 9–1 Common symbols for flowcharting

The 8051 Microcontroller, 4e

By I. Scott MacKenzie and Raphael C.-W. Phan

© 2007 Pearson Education, Inc.

Pearson Prentice Hall

Upper Saddle River, NJ 07458

FIGURE 9–8 Flowchart for the IF/THEN/ELSE structure

Page 9: FIGURE 9–1 Common symbols for flowcharting

The 8051 Microcontroller, 4e

By I. Scott MacKenzie and Raphael C.-W. Phan

© 2007 Pearson Education, Inc.

Pearson Prentice Hall

Upper Saddle River, NJ 07458

FIGURE 9–9 Flowchart for Example 9.5

Page 10: FIGURE 9–1 Common symbols for flowcharting

The 8051 Microcontroller, 4e

By I. Scott MacKenzie and Raphael C.-W. Phan

© 2007 Pearson Education, Inc.

Pearson Prentice Hall

Upper Saddle River, NJ 07458

FIGURE 9–10 Flowchart for CASE structure

Page 11: FIGURE 9–1 Common symbols for flowcharting

The 8051 Microcontroller, 4e

By I. Scott MacKenzie and Raphael C.-W. Phan

© 2007 Pearson Education, Inc.

Pearson Prentice Hall

Upper Saddle River, NJ 07458

FIGURE 9–11 Flowchart for Example 9.6

Page 12: FIGURE 9–1 Common symbols for flowcharting

The 8051 Microcontroller, 4e

By I. Scott MacKenzie and Raphael C.-W. Phan

© 2007 Pearson Education, Inc.

Pearson Prentice Hall

Upper Saddle River, NJ 07458

FIGURE 9–12 Flowchart for OUTCHR subroutine

Page 13: FIGURE 9–1 Common symbols for flowcharting

The 8051 Microcontroller, 4e

By I. Scott MacKenzie and Raphael C.-W. Phan

© 2007 Pearson Education, Inc.

Pearson Prentice Hall

Upper Saddle River, NJ 07458

FIGURE 9–13 Flowchart for OUTSTR subroutine