Author | Message | Time |
---|---|---|
iago | This is some rather nasty code I wrote in class (the original code was nasty, then I made it worse by shortening it to ~1/2 and by trying to avoid pseudocommands: [quote] call decin ! Reads a decimal number from the keyboard and returns it in %o0 add %g0,0,%L4 call decin add %o0,%g0,%L2 ba EL mov %o0,%L1 BL: and %L2,0x01,%L3 subcc %L3,%L3,%G0 be NA srl %L2,1,%L2 A: add %L1,%L4,%L4 NA: sll %L1,1,%L1 EL: subcc %L2,%L2,%g0 bne BL add %L4,%g0,%o0 call decout ! outputs %o0 as a decimal number nop[/quote] I'm pretty sure it still works, but whoever figure it out first gets.. nothing. Good luck! | March 12, 2003, 8:17 PM |
Etheran | Nobody likes SPARC. ;p | March 30, 2003, 9:43 AM |
iago | Do you even know what platform uses sparc? | March 30, 2003, 7:30 PM |
St0rm.iD | Umm SPARC? | March 30, 2003, 9:54 PM |
iago | Beh, that code doesn't work the way it's supposed to anyway :-) | March 30, 2003, 10:47 PM |
Etheran | nope, but it seems nobody likes it ;D | March 31, 2003, 3:40 AM |
iago | It works behind several variants of Linux :P | March 31, 2003, 3:48 PM |
Etheran | I'll stick with good old MASM for my all my assembling needs! :) | March 31, 2003, 9:07 PM |
Nova1313 | I have a sun ultra 10 setting here at my foot in my room never ran any assembly code on it. Nor have i tried to write assembly for it. I mostly use java on it i love solaris 9.. How would I go about running this j/w.... Just out of curiosity I'm assuming you have a sparc (most likly at school rather then in your bedroom like me) do you run red hat on it or solaris? I recently updated to solaris 9 (sun os 5.9) and it seems alot of stuff broke more then fixed it self. I have 4 sun rays running off it throughout my house that I picked up on ebay and they all ceased to work. I had to wipe the machine, can the update method and do a fresh install wiping all my customizations :/ I was wondering if you had any similar experiences/ problems? | April 3, 2003, 5:09 AM |
Hostile | I wish I had one at my feet, but whenever this feel starts to take over I just calm myself and look 4 feet to the right :p I have a 650Mhz Sun blade 150 as well a few old pizza boxes that aren't doing anything since I can't really set them up anywhere. PS: Try Solaris 8 :p! | April 3, 2003, 6:32 AM |
c0ol | u have a sunblade..... gimme a shell on it pzlpzlzpzlp, using linux preferably ;) | April 22, 2003, 11:26 PM |