#avr | Logs for 2013-11-30

Back
[04:03:22] <volbus> Hi everybody! I have a problem with avr-as, can anyone please help?
[04:07:31] <malinus> volbus, just ask the question. instead of asking to ask... like on every other place on the internet. Instead of witing x hours for someone to write a message similar to mine. :)
[04:07:39] <malinus> *waiting
[04:08:21] <volbus> I am trying to assemble an avr-assembler file but the avr-as doesn't pass the rjmp addresses, it's no c/c++ in it so I shouldn'y have to link it, or?
[04:08:47] <volbus> I'm new to avr-toolchain, I used AvrStudio 'till now
[04:10:20] <volbus> so, I write a simple program, and try to assemble it with: avr-as -mmcu=atmega168 myfile.s
[04:11:41] <volbus> but in the a.out file, the rjmp's don' work, they don't jump to the corresponding labels
[04:16:51] <volbus> ok, I should put it like this: I am trying to use the avr-toolchain on linux, but don't want to use any c/c++ language, only pure asm. So I write a text file (myfile.s) with assembler code, and try to assemble it into the *.hex file for the uC
[04:18:16] <volbus> everything is ok, but the rjmp instructions, that don't work - the avr-as doesn't pass the corresponding label-addresses
[04:28:27] <volbus> so, has anyone experience wiht the avr-toolchain? please help!
[08:16:41] <Elco> Why asm?
[08:30:12] <malinus> Elco, why not
[08:31:33] * Tom_itx chomps on some bits for breakfast
[08:43:27] <Elco> I use c or c++ and check the generated assembly when I really want to optimize.
[08:43:42] <Elco> And in rare cases inline asm in c
[11:38:14] <Duality> this works http://pastebin.com/3j7TkpW7
[11:38:19] <Duality> thought it be cool :)
[14:44:35] <carabia> blehhh
[14:44:45] <carabia> i really don't want to start stripping ribbon cable :(
[14:52:48] <jerkey> you can just take a razorblade and run it across the insulation of the ribbon, while it's on a table, then flip it over and do it again
[14:52:57] <jerkey> then you can pull off a bit of insulation of all the wires at once
[14:53:09] <jerkey> if you're going to solder it all to a board edge or something like that?
[14:53:30] <jerkey> otherwise the proper thing to do is to crimp the ribbon cable onto an IDC connector and plug it onto 0.1" pin headers on your board
[15:46:12] <carabia> yup i know how it's supposed to be used =D
[15:46:36] <carabia> yeah, other end will be fixed and another end to a connector
[21:45:51] <rue_bed> hmm I need a 1ms timer
[21:46:01] <rue_bed> hmm
[21:46:07] <rue_bed> need a m324 project
[21:46:09] <rue_bed> hmmmm
[22:05:30] <twnqx> make a bitcoin miner!
[22:38:01] * hjohnson imagines bitcoin mining on an avr
[22:38:26] <Casper> lol
[23:45:18] <braincracker> hi guys
[23:45:38] <braincracker> where our friends Horologium and Badaboom be? :(