From b9890893c099862337e807f73b10667e08081148 Mon Sep 17 00:00:00 2001 From: Jarno Lehtinen Date: Wed, 19 Dec 2018 13:16:01 +0200 Subject: [PATCH] Update README.md --- C64_4joy_adapter/README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/C64_4joy_adapter/README.md b/C64_4joy_adapter/README.md index e915036..f9e13ce 100644 --- a/C64_4joy_adapter/README.md +++ b/C64_4joy_adapter/README.md @@ -1,6 +1,11 @@ - PORTB = *ptr; // is this atomic? probably, because ptr is 6-bit pointer. +``` +& 'C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-objdump.exe' -S "C:\\Users\\Lehtinen\\AppData\\Local\\Temp\\arduino_build_119176/test.ino.elf" > c:\temp\koe.txt +``` + +``` + PORTB = *ptr; // is this atomic? probably, because ptr is 6-bit pointer. f98: e0 91 26 01 lds r30, 0x0126 ; 0x800126 <__data_end> f9c: f0 91 27 01 lds r31, 0x0127 ; 0x800127 <__data_end+0x1> fa0: 80 81 ld r24, Z fa2: 85 b9 out 0x05, r24 ; 5 - +```