projects
/
emu8051.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc8d554
)
Fix bug with ANL instruction
author
Hugo Villeneuve
<hugo@hugovil.com>
Sun, 17 Nov 2013 20:18:19 +0000
(15:18 -0500)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Sat, 22 Mar 2014 18:06:13 +0000
(14:06 -0400)
src/opcode2c.pl
patch
|
blob
|
history
diff --git
a/src/opcode2c.pl
b/src/opcode2c.pl
index
2147aa3
..
67c667f
100755
(executable)
--- a/
src/opcode2c.pl
+++ b/
src/opcode2c.pl
@@
-522,13
+522,7
@@
for ($i=0 ; $i< 256; $i++) {
# ANL
if ($insttype[$i] == 21) {
- if ($instargs[$i*4+1] == 17) {
- # sur des bits
- print INST_IMP "cpu8051_WriteD( _PSW_, ( ( destination & source) << 7 ) );\n";
- } else {
- # sur des bytes
- print INST_IMP "destination &= source;\n";
- }
+ print INST_IMP "destination &= source;\n";
}
# JZ