Chapter 39. Z8000 Dependent Features

The Z8000 as supports both members of the Z8000 family: the unsegmented Z8002, with 16 bit addresses, and the segmented Z8001 with 24 bit addresses.

When the assembler is in unsegmented mode (specified with the unsegm directive), an address takes up one word (16 bit) sized register. When the assembler is in segmented mode (specified with the segm directive), a 24-bit address takes up a long (32 bit) register. Section 39.3 Assembler Directives for the Z8000, for a list of other Z8000 specific assembler directives.

39.1. Options

-z8001

Generate segmented code by default.

-z8002

Generate unsegmented code by default.