cid wrote:I'm sorry...I believe you've mistaken us for someone who knows what the h3ll that means...
_write_ee2prom:
a --> X+0
uINT --> X-5
3809: 10 PUSH X
380A: 4F MOV X,SP
380B: 38 01 ADD SP,1
(0119) char a;
(0120) RES_WDT = 0x38;
380D: 62 E3 38 MOV REG[227],56
(0121) ext_uchar=(unsigned char)EE2PROM_bE2Write(uINT,&FlashData,64,40); //block,address,len,temperature
3810: 10 PUSH X
3811: 50 28 MOV A,40
3813: 08 PUSH A
3814: 50 00 MOV A,0
3816: 08 PUSH A
3817: 50 40 MOV A,64
3819: 08 PUSH A
381A: 50 00 MOV A,0
381C: 08 PUSH A
381D: 50 5C MOV A,92
381F: 08 PUSH A
3820: 52 FB MOV A,[X-5]
3822: 08 PUSH A
3823: 52 FC MOV A,[X-4]
3825: 08 PUSH A
3826: 7C 0B 12 LCALL 0x0B12
3829: 38 F9 ADD SP,249
382B: 20 POP X
382C: 62 D0 00 MOV REG[208],0
382F: 53 4C MOV [76],A
(0122)
(0123) Load_flash_error();
3831: 9F 37 CALL _Load_flash_error
(0124) M8C_EnableGInt;
3833: 71 01 OR F,1
(0125) }
3835: 38 FF ADD SP,255
3837: 20 POP X
3838: 7F RET
0B12: 5D F7 MOV A,REG[247] (0215) mov A, reg[CPU_F]
0B14: 08 PUSH A (0216) push A
(0217) ENDIF
0B15: 50 01 MOV A,1 (0218) mov A, >EE2PROM_START_BLOCK ; push the FirstBlockID - MSB
0B17: 08 PUSH A (0219) push A
0B18: 50 BC MOV A,188 (0220) mov A, <EE2PROM_START_BLOCK ; push the FirstBlockID - LSB
0B1A: 08 PUSH A (0221) push A
0B1B: 7D 0C A3 LJMP 0x0CA3 (0222) ljmp bE2Write ; jmp to E2PROMLIB
(0154) //********************************************************************************************************
(0155) void write_debug(unsigned int BLOCK)
(0156) {
_write_debug:
BLOCK --> X-5
3066: 10 PUSH X
3067: 4F MOV X,SP
(0157)
(0158) apd_reply_ram(&BLOCK, 2);
3068: 50 02 MOV A,0x2
(0159)
(0160)
(0161) }
(0162)
(0163)
(0164)
(0165)
FILE: .\height.asm (0001)
(0002) include "m8c.inc"
307D: 3C A5 5A CMP [0xA5],0x5A (0003) include "map_raw_in.inc"
3080: B0 05 JNZ 0x3086 (0004) include "macro.inc"
3082: 7C 27 03 LCALL debug_pulse (0005)
3085: 40 NOP (0006)
FZR1KG wrote:To make matters more fun, Visual C++ 2013 find in files is faulty.
It can't even find some variables that I know are there.
So now I load the files in notepad if I have to do a search for something.
Great eh?
Gullible Jones wrote:I've seen it said that VC++ is a better optimizing compiler (and a better compiler in general), not sure if that holds true for recent versions of GCC though. But I would guess MinGW is inadvisable for working in pure MS Windows environments in any case. Using different compilers together can sometimes do funny things.
Gullible Jones wrote:Okay. Command line version of grep would probably be easier and more applicable here, but I don't know a good one for Windows that won't drag in MSys/Cygwin/Perl/etc.
Users browsing this forum: No registered users and 11 guests