chiark
/
gitweb
/
~ijackson
/
trains.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cbdb3f
)
bugfix
author
ian
<ian>
Sat, 6 May 2006 17:29:04 +0000
(17:29 +0000)
committer
ian
<ian>
Sat, 6 May 2006 17:29:04 +0000
(17:29 +0000)
hostside/skelproto-pic.c
patch
|
blob
|
history
diff --git
a/hostside/skelproto-pic.c
b/hostside/skelproto-pic.c
index ec67fb6f5cb3dc37d3996fbf1fadb47a5d46aa77..0808ba6b9d18fc859bc158e7ff1bc27aa0c1bb34 100644
(file)
--- a/
hostside/skelproto-pic.c
+++ b/
hostside/skelproto-pic.c
@@
-58,7
+58,7
@@
void picinsn_decode(const PicInsn *pi, const PicInsnInfo *table,
if (pii->argbits <= 6) {
if (pi->l != 1) pii= 0;
} else {
- if (pi->l == 2) { val <<=
8
; val |= pi->d[1]; }
+ if (pi->l == 2) { val <<=
7
; val |= pi->d[1]; }
else pii= 0;
}
}