beautypg.com

Zilog Z16F2810 User Manual

Page 161

background image

UM018809-0611

PUSHMLO Instruction

ZNEO

®

CPU Core

User Manual

145

For example, the following statement produces the same object code as the previous two-line
example:

PUSHM

The assembler also accepts statements using the combined PUSHM mnemonic with an immedi-
ate mask operand.

Flags

Flags are not affected by this instruction.

Syntax and Opcodes

Example

Before:

SP=FFFF_DB38H,

R13=000D_4321,

R7=0007_DEF0,

R6=0006_9ABC,

R5=0005_5678,

R0=0000_1234

PUSHM ;Object Code: 0504 0487

After:

SP=FFFF_DB22H,

FFFF_DB34H=000D_4321,

FFFF_DB2EH=0007_DEF0,

FFFF_DB2AH=0006_9ABC,

FFFF_DB26H=0005_5678,

FFFF_DB22H=0000_1234

The following syntax produces the same object code as the previous example:

PUSHM #20E1H

;Object Code: 0504 0487

Instruction, Operands

Word 0

Word 1

Word 2

PUSHMLO mask

{04H, imm8}

PUSHMHI mask

{05H, imm8}

This manual is related to the following products: