beautypg.com

Configure settings – Zilog Z80380 User Manual

Page 23

background image

UM004001-COR1103

1–11

Introduction

Sample Session

16.Type the following code in the edit window:

#include

int randnum;

int main()

{

srand(10);

randnum=rand();

randnum=rand();

}

17.Close and save the file.

18.Select Update All Dependencies from the Build menu. The Dependencies folder list in the

Project Viewer window is updated.

Configure Settings

The Z8/Z8Plus C-Compiler can be configured through the Settings Option dialog box in
ZDS. The Settings Option dialog box allows the user to configure:

General options

Optimization levels

Preprocessor symbol definitions

C-Compiler memory locations

Section names

Perform the following steps to open the C-Compiler Settings Option dialog box:

1. Open the project.

2. Select Settings from the Project menu. The Settings Options dialog box appears.

3. Click the C-Compiler tab. The C-Compiler Settings Option dialog box appears.

4.

C

ONFIGURE

S

ETTINGS

The 380 C-compiler can be configured through the Settings Option dialog box in ZDS. The
Settings Option dialog box allows the user to configure:

General options