Franks Blog
Frank's record of a bit of his life. Comments have to be moderated because lots of spam comments
Search This Blog
Saturday, January 4, 2025
Park Run
Tuesday, December 31, 2024
Bascom PUSHALL
I ran into a conundrum when trying to get my UART0 sniffer program going.
After the BASCOM PUSHALL statement, R24 was always zero.
I compiled this code snipit and then disassembled it to see what PUSHALL did.
Code: |
Pushall ' <-- Seems to have strange effects when used here Franks_Push: !PUSH r16 !PUSH r24 !PUSH r25 !PUSH r26 !PUSH r27 !PUSH r28 !PUSH r29 !PUSH r30 !PUSH r31 |
Code: |
51: Pushall ' <-- Seems to have strange effects when used here +000000BB: 920F PUSH R0 Push register on stack +000000BC: 921F PUSH R1 Push register on stack +000000BD: 922F PUSH R2 Push register on stack +000000BE: 923F PUSH R3 Push register on stack +000000BF: 924F PUSH R4 Push register on stack +000000C0: 925F PUSH R5 Push register on stack +000000C1: 927F PUSH R7 Push register on stack +000000C2: 92AF PUSH R10 Push register on stack +000000C3: 92BF PUSH R11 Push register on stack +000000C4: 930F PUSH R16 Push register on stack +000000C5: 931F PUSH R17 Push register on stack +000000C6: 932F PUSH R18 Push register on stack +000000C7: 933F PUSH R19 Push register on stack +000000C8: 934F PUSH R20 Push register on stack +000000C9: 935F PUSH R21 Push register on stack +000000CA: 936F PUSH R22 Push register on stack +000000CB: 937F PUSH R23 Push register on stack +000000CC: 938F PUSH R24 Push register on stack +000000CD: 939F PUSH R25 Push register on stack +000000CE: 93AF PUSH R26 Push register on stack +000000CF: 93BF PUSH R27 Push register on stack +000000D0: 93CF PUSH R28 Push register on stack +000000D1: 93DF PUSH R29 Push register on stack +000000D2: 93EF PUSH R30 Push register on stack +000000D3: 93FF PUSH R31 Push register on stack +000000D4: B78F IN R24,0x3F In from I/O location +000000D5: 938F PUSH R24 Push register on stack +000000D6: B78B IN R24,0x3B In from I/O location +000000D7: 938F PUSH R24 Push register on stack +000000D8: 2788 CLR R24 Clear Register +000000D9: BF8B OUT 0x3B,R24 Out to I/O location Franks_Push: +000000DA: 930F PUSH R16 Push register on stack +000000DB: 938F PUSH R24 Push register on stack +000000DC: 939F PUSH R25 Push register on stack +000000DD: 93AF PUSH R26 Push register on stack +000000DE: 93BF PUSH R27 Push register on stack +000000DF: 93CF PUSH R28 Push register on stack +000000E0: 93DF PUSH R29 Push register on stack +000000E1: 93EF PUSH R30 Push register on stack +000000E2: 93FF PUSH R31 Push register on stack |
As one can see, R24 is not preserved by the PUSHALL statement. How interesting.
DISASSEMBLING:
I found the article about using AVR studio to disassembled code.
' https://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&t=15283&highlight=obj
I gave up trying to get microchip studio 7.0 and downloaded Atmel AVR studio 4.19
So straightforward as described in the article.
Mags goes to the doctor
Magnus has been scratching, her tummy is red and there are little red welts on her tummy and her coat looks mangy. Today visited a vet.
Arundel Veterinary Surgery. 190 Brisbane Rd, LABRADOR QKD 4215 07 5529 0700
Weight 39kg
She received a couple of needles.
"Cephalexin 1000mg" tablets - used to treat pyoderma and other bacterial skin infections in dogs.
Pred-X 20mg x30 tablets - An aid in the treatment of inflammatory rheumatic arthritic conditions, for the treatment of allergic dermatitis.
And a anti [intestinal] worm tablet.
And a bottle of medicated shampoo. Malaseb 250ml
Instructions: Wet the skin well. Apply the shampoo. Work well into a thick foam. Wait 10 minutes. Rinse off. Towel dry.
Did not test for heart worm.
Home and gave her breakfast
500g mince. Whole raw egg & half a tin of sardines
Around lunch time, gave her a shampoo.
Seems to be much less scratching.
Monday, December 30, 2024
Last Church 2024
This morning, I thought it would be nice to go to church. Had a look on google Maps, and the closest was "Holy Catholic Family" at Runaway Bay.
Blow me over, but it turns out Phoebe @18 was the model for Mary for the stone mason - Tom Farrell - who carved the statue out the front.
On the religious front, Was a good service. A nice short sermon (<5minutes) on the importance of family and a recognition that not all families are good and we the church need to be willing to step in and step up. A small choir that helped the rest of us know when to sing and when to listen and avoided those awkward solo's by a priest whose singing abilities are worse than mine.
Saturday, December 28, 2024
2024 Christmas Summary
23 DEC-2024 MONDAY
24-DEC-2024 CHRISTMAS EVE TUESDAY
My kids with me. Phoebe's with her.
We all...
Walk up Mt Greville
Dinner at Phoebe's place.
It was very special for me that my kids were with me and that they interacted with Phoebe and her kids.
25-DEC-2024 CHRISTMAS DAY WEDNESDAY
Each of our kids were with our ex's. So this is a nice balance in regard to making the best out of split families. I understand that Chris, Dan and Jemma drove to Ian and Fay's place where Megan was already staying and they would have all had a Christmas day together.
Phoebe and I drove to Lota and visited Phoebe's dad.
Walk on the off lead beach near Royal Queensland Yacht Squadron.
Snooze at Highland Terrace.
Drinks with Graham and Mel at West End.
26-DEC-2024 THURSDAY BOXING DAY
Christmas day lunch at Phoebe's exes mothers place.
Drove down the gold coast.
27-DEC-2024 FRIDAY
House Sitting Geovana & Dan's place at Hollywell on the Gold Coast.
Visit to Harbourtown shopping centre. "Newyork Cheescake" Ice-cream in a cone.
Watched "Love Actually" on netflix.
Walked Mags through the nearby dog park and past the yacht club.
Watched "Spy" on netflix.
28-DEC-2024 SATURDAY
Main Beach Park Run. Swim at the spit.
Breakfast - Fried Eggs, Ham & Spinach. Yet another cup of coffee.
29-DEC-2024 SUNDAY
Church "Holy Catholic Family" at Runaway Bay.
Netflix, Swim & Chill: "Winston" (About Winston Churchill)
Fish and Chips on the beach Harley Park LABRADOR.
30-DEC-2024 MONDAY
31-DEC-2024 TUESDAY (New Years Eve)
Park Run
Me tried to create a "before" happy pic but this was after the "run"
Mags was exhausted
Then up the spit to the off lead area so mags can have a run and a swim. I really like this place as it's the only place with off lead and flags so you can have kids and dogs, who naturally go together, swimming in a safish environment.