>I'm following the assembly code in worktime.asm to get me (back) up to
>speed on assembly language.
>
>
>
>There's a bit where it goes.
>
>
>
>; Macro
>
>EStrobe MACRO ; Strobe the "E" Bit
> bsf E
> bcf E
> ENDM
>
> CBLOCK 0CH
> sec ; seconds digit
> sec10 ; 10's of second digit
> mins ; minutes digit
> min10 ; 10's of minutes digit
> hr ; hours digit
> hr10 ; 10's of hours digit
> highlim ; high limit + 1 of digit
> w_temp ; holds W during interrupt
> status_temp ; holds STATUS during interrupt
> fsr_temp ; holds FSR during interrupt
> Dlay ; 8 Bit Delay Variable
> working ; working flag 0 not working, 1 working
> ptr ; used in displaying message
> Temp ; a temporary variable
> bin ; a temporary variable
> oset ; offset of time register
> oldtime ; holds last value of sec
> ENDC
>
>
>
>Here's my question - CBLOCK defines a block of constants starting at a
>given address. Problem is, 0CH isn't a valid address - or is it? If it
>is, why does it have a '0' in the lead position? 0xCH isn't valid as H
>is one too many for hex? I expect I'm being dumb but, can someone
>please point me to my mistake?
>
>
>
>Ted Mawson
>
>
http://www.portfoliopm.com
>
>--
>
http://www.piclist.com hint: The list server can filter out subtopics
>(like ads or off topics) for you. See
http://www.piclist.com/#topics