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:24:01 -!- Sgep has quit.
05:46:58 -!- AKILLI_KIZ_VARMI has joined.
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: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:31:06 <nooga> it compiles under linux and wndows
14:31:21 <nooga> and executable has got only 72 kb!!
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:50:19 <Keymaker> is there any short assembler code for checking if value is odd or not?
16:55:18 <fizzie> One would hope AND would set the zero flag.
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: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:09:37 <jix> branch if greater or equal or zero or allways or less?
17:10:46 <jix> that was a question
17:10:51 <jix> that opcode would be really useless
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: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:25:32 <Keymaker> adn that should be easier to remember than the byte-code :D
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
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:53:18 -!- int-e has joined.
20:09:13 -!- Gs30ng_ has joined.
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:19:27 <fizzie> 025*"?enilwen oN">:#._@
23:47:20 <fizzie> The language of choice for oneliners.
23:47:32 <SimonRC> you mean Unefunge, surely?
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: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.)