summaryrefslogtreecommitdiff
path: root/sys/src
diff options
context:
space:
mode:
authorment <thement@ibawizard.net>2011-06-22 00:30:09 +0200
committerment <thement@ibawizard.net>2011-06-22 00:30:09 +0200
commitbbfc504d45d81a41212aa4bbd0b2abff15168468 (patch)
treef33ff6f7c1354a2ad2e71b20940d275aea4396a8 /sys/src
parent08116a10138b5d2a92c0cc468b988f07e29ed81d (diff)
boot/pbs: wrong register
Diffstat (limited to 'sys/src')
-rw-r--r--sys/src/boot/pc/pbs.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/boot/pc/pbs.s b/sys/src/boot/pc/pbs.s
index 8a11b8279..5f9dcfabb 100644
--- a/sys/src/boot/pc/pbs.s
+++ b/sys/src/boot/pc/pbs.s
@@ -107,7 +107,7 @@ TEXT start16(SB), $0
CLR(rCX)
LB(_nfats(SB), rCL)
MUL(rCX)
- OR(rCX, rCX)
+ OR(rAX, rAX)
JNE _fatszok /* zero? it's FAT32 */
LW(_fatsz32hi(SB), rBX)