URL
https://opencores.org/ocsvn/usb_fpga_2_13/usb_fpga_2_13/trunk
Subversion Repositories usb_fpga_2_13
[/] [usb_fpga_2_13/] [trunk/] [bin/] [peeph.def] - Rev 2
Compare with Previous | Blame | View Log
replace {
mov dptr,%1
movx a,@dptr
mov %2,a
mov dptr,%1
} by {
; peep hole 1001, saves 3 bytes
mov dptr,%1
movx a,@dptr
mov %2,a
}
replace {
mov dptr,%1
movx a,@dptr
mov %3,a
mov dptr,%2
movx a,@dptr
mov %4,a
mov a%5,%4
mov %4,#0x00
mov %6,#0x00
mov dptr,%7
mov a,%4
orl a,%3
movx @dptr,a
mov a,%5
orl a,%6
inc dptr
movx @dptr,a
} by {
; peep hole 1001, saves 10 bytes
mov dptr,%2
movx a,@dptr
mov %4,a
mov dptr,%1
movx a,@dptr
mov dptr,%7
movx @dptr,a
mov a,%4
inc dptr
movx @dptr,a
}
replace {
mov dptr,%1
movx a,@dptr
mov %3,a
mov a%4,%3
mov %3,#0x00
mov dptr,%2
movx a,@dptr
mov %5,a
mov %6,#0x00
mov dptr,%7
mov a,%5
orl a,%3
movx @dptr,a
mov a,%6
orl a,%4
inc dptr
movx @dptr,a
} by {
; peep hole 1002, saves 10 bytes
mov dptr,%1
movx a,@dptr
mov %4,a
mov dptr,%2
movx a,@dptr
mov dptr,%7
movx @dptr,a
mov a,%4
inc dptr
movx @dptr,a
}