12.07.2015 Views

MAXQ Core Assembly Guide - Maxim

MAXQ Core Assembly Guide - Maxim

MAXQ Core Assembly Guide - Maxim

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>MAXQ</strong> <strong>Core</strong> <strong>Assembly</strong> <strong>Guide</strong>Data Long/Double (DL/DD) StatementThe DL/DD statement is similar to the DW statement, but is used to insert 32-bit longwords of data into the outputhex file at the current assembly location. It can be used in either the code segment or the data segment.The syntax for the DL/DD statement takes the following form. The “DL/DD” keyword is case-insensitive.dl constant [, constant [, constant ...]]dd constant [, constant [, constant ...]]The following two types of values may be used as DL/DD constants, and more than one type may be mixed in aDW statement.• Word constant values (written in decimal, hex or binary) from 0 to 4294967295. Negative values may not beused. If necessary, the high byte(s) will be padded to zero.• Character constant values (written as ‘’). When these are used in a DL/DD statement, the 3 high bytesare padded to 00h.String constant values may not be used in DL/DD statements. Since DL/DD statements always generate evennumbers of bytes, they may be mixed freely with instruction statements.+---------------------------------------------------------------+| Dallas Semiconductor/MAXIM MaxQ Assembler, Version 2.047.0060 |+---------------------------------------------------------------+Last build Mar 2 2007 at 06:00:57Command line: -l -q -b -w dl.asmAssembling dl.asm for <strong>MAXQ</strong>20,using 16 accumulators, Fri Mar 02 16:03:44 2007Line: Addr: Opcode======================1:2: org 03:4: 0000: 0000 dl 0, 10d00000000000A5: 0004: 0000 dl 01b, 1111111111111111b00010000FFFF6:7: 0008: 0A00 move Acc, #08:9: 0009: FFFF dl 0FFFFFFFFhFFFF10: 000B: FFFF dl 4294967295FFFF11: 000D: 0000 dl 'A'004112:13: 000F: DA3A nop14:15: endVersion 1.2 18 of 43 March 7, 2007

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!