1
0
mirror of https://github.com/mcgurk/Arduino-USB-HID-RetroJoystickAdapter synced 2024-11-21 08:35:05 -05:00
Arduino-USB-HID-RetroJoysti.../C64_4joy_adapter
2019-05-08 08:26:57 +03:00
..
4joy_adapter_old.ino Rename 4joy_adapter.ino to 4joy_adapter_old.ino 2018-12-07 17:19:04 +02:00
4joy_adapter.ino Update 4joy_adapter.ino 2018-12-08 10:46:49 +02:00
interrupt_test.ino Create interrupt_test.ino 2018-12-06 14:28:09 +02:00
README.md Update README.md 2019-05-08 08:26:57 +03:00
stuff.ino Create stuff.ino 2018-12-19 14:30:27 +02:00
temp.ino Update temp.ino 2018-12-07 14:41:02 +02:00

& '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
 cli // 1 clock
 PORTB = *ptr; // is this atomic? probably, because ptr is 6-bit pointer.
 f98:	e0 91 26 01 	lds	r30, 0x0126	; 0x800126 <__data_end> // 2 clocks
 f9c:	f0 91 27 01 	lds	r31, 0x0127	; 0x800127 <__data_end+0x1> // 2 clocks
 fa0:	80 81       	ld	r24, Z // 1 clock
 fa2:	85 b9       	out	0x05, r24	; 5 // 1 clock
 sei // 1 clock

500ns

cli
mov r31, r1
mov r30, gpior0
ld	r24, Z
out	0x05, r24
sei

375ns

register as variable