code logs -> 2007 -> Tue, 06 Nov 2007< code.20071105.log - code.20071107.log >
--- Log opened Tue Nov 06 00:00:59 2007
00:50 You're now known as TheWatcher[T-2]
00:56 You're now known as TheWatcher[zZzZ]
02:08 gnolam [lenin@Nightstar-10613.8.5.253.static.se.wasadata.net] has quit [Quit: Z?]
02:35 Thaqui [~Thaqui@Nightstar-18257.jetstream.xtra.co.nz] has joined #code
02:35 mode/#code [+o Thaqui] by ChanServ
03:51 Forj [~Forj@Nightstar-9586.ue.woosh.co.nz] has joined #code
03:51 mode/#code [+o Forj] by ChanServ
03:52 Chalcedon [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has joined #code
03:52 mode/#code [+o Chalcedon] by ChanServ
03:58 Chalcedon [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has quit [Ping Timeout]
04:00 Chalcedon [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has joined #code
04:00 mode/#code [+o Chalcedon] by ChanServ
04:02
<@ToxicFrog>
<McMartin> "Say you have a problem. Then you decide, hey -- let's use XML. Now you have two problems."
04:03 Chalcedon [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has quit [Ping Timeout]
04:03 Forjeh [~Forj@Nightstar-9586.ue.woosh.co.nz] has joined #code
04:04 Forj [~Forj@Nightstar-9586.ue.woosh.co.nz] has quit [Ping Timeout]
04:08 NSGuest-2234 [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has joined #code
04:08 Forgles [~Forj@Nightstar-9586.ue.woosh.co.nz] has joined #code
04:08 Forgles is now known as Forj
04:09 Forjeh [~Forj@Nightstar-9586.ue.woosh.co.nz] has quit [Ping Timeout]
04:21 Forj [~Forj@Nightstar-9586.ue.woosh.co.nz] has quit [Ping Timeout]
04:24 NSGuest-2234 [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has quit [Ping Timeout]
04:30 GeekSoldier|bed is now known as GeekSoldier
04:40 NSGuest-2237 [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has joined #code
04:42 GeekSoldier is now known as GeekSoldier|work
04:59 NSGuest-2237 [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has quit [Ping Timeout]
05:05 Chalcedon [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has joined #code
05:05 mode/#code [+o Chalcedon] by ChanServ
05:44 Chalcedon [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has quit [Ping Timeout]
05:44 Chalcy [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has joined #code
05:44 mode/#code [+o Chalcy] by ChanServ
05:59 Chalcy [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has quit [Ping Timeout]
06:03 Chalcedon [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has joined #code
06:03 mode/#code [+o Chalcedon] by ChanServ
06:17 GeekSoldier|work [~Rob@Nightstar-3348.pools.arcor-ip.net] has quit [Quit: I quit!]
06:18 GeekSoldier|work [~Rob@Nightstar-3348.pools.arcor-ip.net] has joined #code
07:11 GeekSoldier|work [~Rob@Nightstar-3348.pools.arcor-ip.net] has quit [Ping Timeout]
08:14 Chalcy [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has joined #code
08:14 mode/#code [+o Chalcy] by ChanServ
08:15 Chalcedon [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has quit [Ping Timeout]
08:55 You're now known as TheWatcher
09:37 Thaqui [~Thaqui@Nightstar-18257.jetstream.xtra.co.nz] has quit [Quit: This computer has gone to sleep]
10:18 Chalcy [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has quit [Quit: Gone]
10:50 GeekSoldier|work [~Rob@Nightstar-3881.pools.arcor-ip.net] has joined #code
11:48 gnolam [lenin@Nightstar-10613.8.5.253.static.se.wasadata.net] has joined #Code
11:48 mode/#code [+o gnolam] by ChanServ
13:08 MyCatSchemes [~rb6822@Nightstar-23498.cs.bris.ac.uk] has joined #code
13:49 MyCatSchemes [~rb6822@Nightstar-23498.cs.bris.ac.uk] has quit [Client exited]
15:33 MyCatSchemes [~rb6822@Nightstar-18140.cs.bris.ac.uk] has joined #code
15:46 MyCatSchemes [~rb6822@Nightstar-18140.cs.bris.ac.uk] has quit [Quit: Swim, swim, hungry!]
15:58 MyCatSchemes [~rb6822@Nightstar-23580.cs.bris.ac.uk] has joined #code
16:15 GeekSoldier_ [~Rob@Nightstar-3881.pools.arcor-ip.net] has joined #code
16:15 GeekSoldier|work [~Rob@Nightstar-3881.pools.arcor-ip.net] has quit [Ping Timeout]
16:25 * AnnoDomini ponders this last assignment out of Microprocessor Technology.
16:26
<@AnnoDomini>
Given two four-digit BCD numbers A and B, we are to produce C = B + (A - B).
16:27
<@AnnoDomini>
C being a maximum of six-digits.
16:27 * AnnoDomini ponders whether it's easier to slough through BCD arithmetic, or to translate and retranslate to and from BCD.
16:28 MyCatSchemes [~rb6822@Nightstar-23580.cs.bris.ac.uk] has quit [Connection reset by peer]
16:32
<@AnnoDomini>
Hm. I might use the index register to cunningly store a four-digit number all at once, rather than having to use multiple memory cells.
16:38
<@AnnoDomini>
Though no. I can't really perform arithmetic simply enough on such numbers. Plan A it is.
16:49
<@AnnoDomini>
Gaaah. Why does this processor have logical shift right, but not logical shift LEFT?!
16:50 MyCatSchemes [~rb6822@Nightstar-23580.cs.bris.ac.uk] has joined #code
16:58 * Vornicus eyes
16:58
<@Vornicus>
I don't see how C is different from A.
17:00 Forj [~Forj@Nightstar-9586.ue.woosh.co.nz] has joined #code
17:00 mode/#code [+o Forj] by ChanServ
17:02
<@gnolam>
Indeed. Unless you're supposed to take some sort of overflow into account, C = A.
17:03
<@Vornicus>
And since your result is stated "maximum six digits", overflow isn't an issue either.
17:05
<@AnnoDomini>
I don't understand. Given two 8-bit accumulators, and any number of 8-bit memory cells, how would you convert a BCD number into hexadecimal?
17:08 You're now known as TheWatcher[afk]
17:08
<@Vornicus>
Lookup tables, multiplication, and add.
17:10
<@AnnoDomini>
Multiplication? Hahahaha. No such thing. I'm lucky to have addition.
17:11
<@AnnoDomini>
(It's a Motorola 6800.)
17:11
<@Vornicus>
You need to multiply by 100. If you have shift left, it's A << 6 + A << 5 + A << 2
17:12
<@Vornicus>
YOu should have shift left though. I can't imagine not having it, it's how you do, well, anything
17:14 AnnoDomini [AnnoDomini@Nightstar-28937.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
17:16 AnnoDomini [AnnoDomini@Nightstar-29712.neoplus.adsl.tpnet.pl] has joined #Code
17:16 mode/#code [+o AnnoDomini] by ChanServ
17:16
<@Vornicus>
You need to multiply by 100. If you have shift left, it's A << 6 + A << 5 + A << 2
17:16
<@Vornicus>
YOu should have shift left though. I can't imagine not having it, it's how you do, well, anything
17:18
<@AnnoDomini>
There's arithmetic shift left. And apparently no shift operation will let me grab the C flag for the right-/left-most bit.
17:19
<@Vornicus>
blarg
17:19
<@Vornicus>
2 registers is pain ;_;
17:20
<@AnnoDomini>
Yeah.
17:51 Forj [~Forj@Nightstar-9586.ue.woosh.co.nz] has quit [Quit: Gone]
17:54 GeekSoldier_ [~Rob@Nightstar-3881.pools.arcor-ip.net] has quit [Ping Timeout]
17:54 GeekSoldier_ [~Rob@Nightstar-3881.pools.arcor-ip.net] has joined #code
17:56 GeekSoldier_ is now known as GeekSoldier
18:07 * AnnoDomini is doing this by way of C = 2*B - A. So far, so good. I think I've managed to slough through shifting the BCD number.
18:11 * Vornicus eyes
18:11
<@Vornicus>
I don't see how that form follows the original.
18:11
<@AnnoDomini>
Er. It was supposed to be C = B + (B - A).
18:12
<@Vornicus>
aha
18:12
<@AnnoDomini>
(Though it'd be very simple to fix with S/RP.)
--- Log opened Tue Nov 06 19:02:39 2007
19:02 TheWatcher [~chris@Nightstar-29731.dsl.in-addr.zen.co.uk] has joined #code
19:02 Irssi: #code: Total of 17 nicks [7 ops, 0 halfops, 1 voices, 9 normal]
19:02 mode/#code [+o TheWatcher] by ChanServ
19:03 Irssi: Join to #code was synced in 46 secs
19:53 Syloq [~Syloq@NetAdmin.Nightstar.Net] has quit [Connection reset by peer]
20:19 GeekSoldier is now known as GeekSoldier|bed
21:28 MyCatSchemes [~rb6822@Nightstar-23580.cs.bris.ac.uk] has quit [Client exited]
22:10 Attilla_ [~The.Attil@194.72.70.ns-11849] has joined #code
22:10 Attilla [~The.Attil@194.72.70.ns-11849] has quit [Killed (NickServ (GHOST command used by Attilla_))]
22:10 Attilla_ is now known as Attilla
--- Log closed Wed Nov 07 00:00:37 2007
code logs -> 2007 -> Tue, 06 Nov 2007< code.20071105.log - code.20071107.log >