←2005-12-18 2005-12-19 2005-12-20→ ↑2005 ↑all
02:48:15 -!- lirthy has quit ("you should feel more feel you should take more take").
02:54:23 -!- lirthy has joined.
02:54:31 -!- lirthy has quit (Read error: 104 (Connection reset by peer)).
02:54:38 -!- lirthy has joined.
04:22:33 <Sgep> Night all
04:24:01 -!- Sgep has quit.
05:46:58 -!- AKILLI_KIZ_VARMI has joined.
05:47:25 <AKILLI_KIZ_VARMI> selamlar
05:47:31 <AKILLI_KIZ_VARMI> birileri varm0131?
05:48:04 <AKILLI_KIZ_VARMI> turk varm0131
05:48:05 <AKILLI_KIZ_VARMI> turk
06:09:56 -!- AKILLI_KIZ_VARMI has quit (Client Quit).
07:12:58 -!- lirthy has quit ("you should feel more feel you should take more take").
07:13:13 -!- lirthy has joined.
07:21:53 <lament> haha
07:59:59 -!- clog has quit (ended).
08:00:00 -!- clog has joined.
08:38:19 -!- fungebob has quit (Read error: 110 (Connection timed out)).
08:56:52 -!- CXII has joined.
09:18:47 -!- CXI has quit (Connection timed out).
09:20:33 -!- Gs30ng has joined.
12:34:18 -!- ineiros has quit ("irssi").
12:37:21 -!- ineiros has joined.
13:02:34 -!- jix has joined.
14:01:37 -!- fizzie has quit (niven.freenode.net irc.freenode.net).
14:23:14 -!- nooga has joined.
14:23:21 <nooga> HI!
14:25:19 <Gs30ng> hi!
14:25:40 <nooga> BDSM2 is done!
14:31:06 <nooga> it compiles under linux and wndows
14:31:21 <nooga> and executable has got only 72 kb!!
14:31:29 <nooga> kB i mean
15:09:54 -!- nooga has quit (Read error: 110 (Connection timed out)).
15:45:57 -!- fizzie has joined.
16:03:32 -!- Keymaker has joined.
16:03:45 <Keymaker> evening
16:03:50 <Keymaker> nooga: that sounds nice
16:50:19 <Keymaker> is there any short assembler code for checking if value is odd or not?
16:55:08 <fizzie> Just and with 1?
16:55:18 <fizzie> One would hope AND would set the zero flag.
16:55:36 <Keymaker> thanks
16:59:14 <fizzie> Or "andi $t0, 1 ; beq $t0, $0, oh_it_was_even" if you happen to be on a MIPSish system.
16:59:37 <fizzie> Hmm, seems I managed to insert some undesired characters there.
17:03:18 <Keymaker> i'm really lucky it's so simple task :)
17:05:13 <fizzie> Menghfeh. Went to sleep at 0700, woke up at 1000, and now been in an exam first 1300-1600 and then 1615-1900. Sleeeepy.
17:05:59 <Keymaker> :\
17:06:04 <Keymaker> and won't go to bed yet? :D
17:07:23 <fizzie> Well, the exam ends at 1925, have to wait for that. Then there's the food issue - perhaps even more hungry than sleepy.
17:08:01 <fizzie> BGEZAL really isn't a pleasant mnemonic for an opcode.
17:08:43 <Keymaker> ok
17:08:44 <Keymaker> bgezal?
17:08:51 <Keymaker> what's that?
17:09:37 <jix> branch if greater or equal or zero or allways or less?
17:10:33 <Keymaker> crazy :)
17:10:46 <jix> that was a question
17:10:51 <jix> that opcode would be really useless
17:11:00 <Keymaker> yeah
17:13:29 <fizzie> Branch on Greater than or Equal to Zero And Link.
17:14:01 <fizzie> Like the normal branch, but saves the return address in register $31.
17:23:15 <jix> is there a BLEZAL ?
17:23:36 <fizzie> I think so. Closed the reference sheet window already.
17:23:54 <fizzie> I think ~all the branch instructions had an -AL version.
17:24:06 <fizzie> Perhaps even BEQAL.
17:24:11 <jix> in arm asm you can prefix ANY instruction with condition codes
17:24:17 <jix> or postfix...
17:24:42 <fizzie> MMX instructions are still uglier.
17:24:54 <fizzie> PUNPCKLDQ
17:25:03 <fizzie> PUNPCKHBW
17:25:32 <Keymaker> adn that should be easier to remember than the byte-code :D
17:25:34 <fizzie> Away now.
17:25:47 <Keymaker> bye
17:25:57 <fizzie> Considering that x86 instructions can be up to 17 bytes long, the bytecode probably isn't that easy to remember either. :p
17:26:26 <Keymaker> :)
19:20:11 <Keymaker> can one modify zero flag in assembler directly, without doing any cmp or stuff?
19:26:09 -!- Metalcore has joined.
19:30:23 <fizzie> lahf, sahf, popf and pushf can be used to load/store the flag register, but that's not very convenient.
19:34:33 <fizzie> I guess "test al, 0" would clear the zero flag without causing anything else. (Except messing the other flags too.)
19:44:53 <Keymaker> ok
19:45:02 <Keymaker> well, i'll use cmp
19:45:13 <lament> hi all
19:45:17 <Keymaker> hi
19:53:18 -!- int-e has joined.
20:09:13 -!- Gs30ng_ has joined.
20:16:47 <Keymaker> exit time. bye
20:16:51 -!- Keymaker has left (?).
20:27:23 -!- Gs30ng has quit (Read error: 110 (Connection timed out)).
21:58:11 -!- Sgep has joined.
22:04:16 -!- jix has quit ("Bitte waehlen Sie eine Beerdigungnachricht").
23:00:06 -!- SimonRC has joined.
23:00:21 <SimonRC> Hey, cool!
23:01:54 <SimonRC> >0".enoyrevE olleH">:#._@
23:19:27 <fizzie> 025*"?enilwen oN">:#._@
23:35:41 <Sgep> what?
23:46:54 <SimonRC> Sgep: befunge
23:47:20 <fizzie> The language of choice for oneliners.
23:47:24 <SimonRC> heh
23:47:32 <SimonRC> you mean Unefunge, surely?
23:47:43 * SimonRC likes Bef98
23:48:17 <SimonRC> I considered trying to write a C-to-befunge compiler once
23:50:41 <fizzie> I wrote a befunge-to-C compiler once, or a simple "output C" test backend for my never-finished befunge-to-Java-bytecode compiler. Never finished it, and it doesn't support self-modification. (The compiler was written in Java, so in the Java-bytecode version I could've invoked the compiler to handle put. Obviously can't do that with the C backend.)
23:50:58 <fizzie> And I did write a brainf*ck-to-befunge translator, but the translation is rather trivial there.
23:51:12 <SimonRC> yes
23:54:38 <SimonRC> IIRC there is a text editor for trefunge written in trefunge, I wonder where it is...
23:55:54 <fizzie> I think Bfef translates '.' to ":,", ',' to "$~", strings of '+' to "<n>+", '-' to "<n>-" (where <n> is a base-15 representation with suitable "f*"s added), and '<'/'>' to "\0p<n>+::0g" (or "<n>-").
23:56:06 <fizzie> (And loops to suitable geometry.)
←2005-12-18 2005-12-19 2005-12-20→ ↑2005 ↑all