.addrw

Name

.addrw --  puts one or more 16-bit addresses in memory

Syntax

.addrw expression [,expression...]

Description

The .addrw directive generates consecutive 16-bit words of address data for each given expression. It is used for VIS address tables. If the directive has a label, it refers to the address of the first data word.

Example

		.sect EXAMPLE, ROM, ABS=0FF
			vis 			; place vis at 0ff
		.endsect

		.sect INTERRUPT, ROM, ABS=01E0	;vector table at 01e0

		.addrw LABEL
		.addrw LABEL1
	

Note: The .addrw directive stores words in byte order, high byte to low byte. This is the correct order for VIS address tables and is the opposite byte order of the .word directive.