Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4928

What does Assembly LSLF do? [SOLVED]

$
0
0
Code:
     movwf     tempF          ;f = rrrrrbbb
     lslf      tempF,f        ;f = rrrrbbb0 , discard msb
     movlw     0xF0           ;
At first breakpoint:
1579639278585.png
After lslf:
1579639371807.png

Language: MPASM Assembly
MPLab 8.92
MCU: 16F1783
Re-assembled and programmed with same result. Used to work.

Viewing all articles
Browse latest Browse all 4928

Trending Articles