Line 27... |
Line 27... |
/* */
|
/* */
|
/* Author(s): */
|
/* Author(s): */
|
/* - Olivier Girard, olgirard@gmail.com */
|
/* - Olivier Girard, olgirard@gmail.com */
|
/* */
|
/* */
|
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
/* $Rev: 141 $ */
|
/* $Rev: 200 $ */
|
/* $LastChangedBy: olivier.girard $ */
|
/* $LastChangedBy: olivier.girard $ */
|
/* $LastChangedDate: 2012-05-05 23:22:06 +0200 (Sat, 05 May 2012) $ */
|
/* $LastChangedDate: 2015-01-21 23:01:31 +0100 (Wed, 21 Jan 2015) $ */
|
/*===========================================================================*/
|
/*===========================================================================*/
|
|
|
.include "pmem_defs.asm"
|
.include "pmem_defs.asm"
|
|
|
.global main
|
.global main
|
Line 119... |
Line 119... |
mov #0x5000, r15
|
mov #0x5000, r15
|
|
|
|
|
# Addressing mode: EDE
|
# Addressing mode: EDE
|
#------------------------
|
#------------------------
|
.set EDE_21E, DMEM_21E
|
.set EDE_21E, DMEM_21E+PMEM_EDE_LENGTH
|
.set EDE_220, DMEM_220
|
.set EDE_220, DMEM_220+PMEM_EDE_LENGTH
|
|
|
mov #DMEM_200, r4
|
mov #DMEM_200, r4
|
mov #0x8765, &DMEM_21E
|
mov #0x8765, &DMEM_21E
|
mov #0x5555, &DMEM_300
|
mov #0x5555, &DMEM_300
|
push EDE_21E+PMEM_LENGTH ;# PUSH (0x8765 => @=0x0240)
|
push EDE_21E ;# PUSH (0x8765 => @=0x0240)
|
|
|
mov #0x4321, &DMEM_220
|
mov #0x4321, &DMEM_220
|
mov #0x5555, &DMEM_300
|
mov #0x5555, &DMEM_300
|
push EDE_220+PMEM_LENGTH ;# PUSH (0x4321 => @=0x023E)
|
push EDE_220 ;# PUSH (0x4321 => @=0x023E)
|
|
|
mov #0x6000, r15
|
mov #0x6000, r15
|
|
|
|
|
# Addressing mode: &EDE
|
# Addressing mode: &EDE
|
Line 234... |
Line 234... |
mov #0xC000, r15
|
mov #0xC000, r15
|
|
|
|
|
# Addressing mode: EDE
|
# Addressing mode: EDE
|
#------------------------
|
#------------------------
|
.set EDE_B_21E, DMEM_21E
|
.set EDE_B_21E, DMEM_21E+PMEM_EDE_LENGTH
|
.set EDE_B_221, DMEM_221
|
.set EDE_B_221, DMEM_221+PMEM_EDE_LENGTH
|
|
|
mov #DMEM_200, r4
|
mov #DMEM_200, r4
|
mov #0xd10e, &DMEM_21E
|
mov #0xd10e, &DMEM_21E
|
mov #0x5555, &DMEM_300
|
mov #0x5555, &DMEM_300
|
push.b EDE_B_21E+PMEM_LENGTH ;# PUSH (0x0e => @=0x0240)
|
push.b EDE_B_21E ;# PUSH (0x0e => @=0x0240)
|
|
|
mov #0xfed0, &DMEM_220
|
mov #0xfed0, &DMEM_220
|
mov #0x5555, &DMEM_300
|
mov #0x5555, &DMEM_300
|
push.b EDE_B_221+PMEM_LENGTH ;# PUSH (0xfe => @=0x023E)
|
push.b EDE_B_221 ;# PUSH (0xfe => @=0x023E)
|
|
|
mov #0xD000, r15
|
mov #0xD000, r15
|
|
|
|
|
# Addressing mode: &EDE
|
# Addressing mode: &EDE
|