Вт мар 29, 2022 09:02:37
// FSEC
........
#pragma config BSEN = ON
........
#pragma config AIVTDIS = ON
// FBSLIM
#pragma config BSLIM = 0x1FFA
........
.include "p33CH512MP208.inc"
........
.section bufNear, near
........
.section bufX, address (0x2000)
........
.section bufY, address (0x7000)
........
.section bufY_EDS, address (0x8000)
........
.section *, code, boot
.global __reset
.global __OscillatorFail
.global __AddressError
.global __HardTrapError
.global __StackError
.global __MathError
.global __OscillatorFail
.global __SoftTrapError
.global __T1Interrupt
........
__reset:
mov #__SP_init, W15
mov #__SPLIM_init, W0
mov W0, SPLIM
nop
bra MainBoot
........
........
........
.section *, code
.global __reset
.global __AltAddressError
.global __AltHardTrapError
.global __AltStackError
.global __AltMathError
.global __AltDMACError
.global __AltSoftTrapError
.global __AltT1Interrupt
........
Application:
bra Main
........
........
.end
section address length (PC units) length (bytes) (dec)
------- ------- ---------- ----------
AM-EAS-CH-v0-1.s.scn1 0x800 0x108a 0x18cf (6351)
.aivt._AltAddressError 0x2006 0x2 0x3 (3)
.aivt._AltHardTrapError 0x2008 0x2 0x3 (3)
.aivt._AltStackError 0x200a 0x2 0x3 (3)
.aivt._AltMathError 0x200c 0x2 0x3 (3)
.aivt._AltSoftTrapError 0x2010 0x2 0x3 (3)
.aivt._AltT1Interrupt 0x2016 0x2 0x3 (3)
.aivt._AltDMA1Interrupt 0x2024 0x2 0x3 (3)
.aivt._AltU1RXInterrupt 0x202a 0x2 0x3 (3)
.aivt._AltINT1Interrupt 0x2032 0x2 0x3 (3)
.aivt._AltDMA2Interrupt 0x2038 0x2 0x3 (3)
.aivt._AltINT2Interrupt 0x203c 0x2 0x3 (3)
.aivt._AltDMA3Interrupt 0x203e 0x2 0x3 (3)
.aivt._AltCCP2Interrupt 0x2042 0x2 0x3 (3)
.aivt._AltU2RXInterrupt 0x204a 0x2 0x3 (3)
.aivt._AltU2TXInterrupt 0x204c 0x2 0x3 (3)
.aivt._AltCCP3Interrupt 0x205a 0x2 0x3 (3)
.aivt._AltPTG0Interrupt 0x20b8 0x2 0x3 (3)
.aivt._AltPTG1Interrupt 0x20ba 0x2 0x3 (3)
.aivt._AltPTG2Interrupt 0x20bc 0x2 0x3 (3)
.aivt._AltPTG3Interrupt 0x20be 0x2 0x3 (3)
.aivt._AltMSIS1Interrupt 0x2116 0x2 0x3 (3)
.aivt._AltMSIAInterrupt 0x2118 0x2 0x3 (3)
.aivt._AltMSIBInterrupt 0x211a 0x2 0x3 (3)
.aivt._AltMSICInterrupt 0x211c 0x2 0x3 (3)
.aivt._AltMSIDInterrupt 0x211e 0x2 0x3 (3)
.aivt._AltCCP8Interrupt 0x2144 0x2 0x3 (3)
.text 0x2800 0x2 0x3 (3)
AM-EAS-CH-v0-1.s.scn2 0x2802 0x283e 0x3c5d (15453)
SLAV_image 0x5040 0x104a 0x186f (6255)
SLAV_TUNE_image 0x608a 0x772 0xb2b (2859)
SLAV_SYNC_image 0x67fc 0x6b2 0xa0b (2571)
Вт мар 29, 2022 12:50:38
Ср дек 13, 2023 01:22:10
Ср дек 13, 2023 08:23:47
Ср дек 13, 2023 15:09:28
Ср дек 13, 2023 17:28:47
Сб дек 16, 2023 03:26:13
Сб дек 16, 2023 07:11:03
Вс дек 17, 2023 16:37:08
Вс дек 17, 2023 18:35:50
__reset:
mov #__SP_init, W15
mov #__SPLIM_init, W0
mov W0, SPLIM
nop
call MainInit
blah-blah-blah....
MainInit:
lnk #4
mov #15936, W0
mov W0, [W14] ; первая локальная переменная равна 15936
clr [W14+2] ; вторая локальная переменная равна 0
blah-blah-blah....
ulnk
return
Вс дек 17, 2023 18:43:56
Вс дек 17, 2023 18:53:45
Вс дек 17, 2023 19:13:05
Вс дек 17, 2023 19:23:35
Вс дек 17, 2023 19:25:25
Вс дек 17, 2023 19:28:32
Вс дек 17, 2023 22:50:10
Пн дек 18, 2023 04:39:58
Пн дек 18, 2023 21:43:11
Пн дек 18, 2023 21:58:26