Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/16/02 06:52
Read: times


 
#24519 - shift with ">>" in c51 ...
some time c user do shift for mul and divide and some time u write byte to byte
then not require any carry for me in asm i do two shift mul 4

i do it with c51

ypos3 = ypos>>3;
; SOURCE LINE # 237
MOV A,R5
RRC A
RRC A
ANL A,#01FH
;---- Variable 'ypos3?1255' assigned to

HOW DO IT IN C51 WITHOUT
MOV A,R5
ANL A,#01FH

??

List of 3 messages in thread
TopicAuthorDate
shift with ">>" in c51 ...            01/01/70 00:00      
RE: shift with \            01/01/70 00:00      
RE: shift with ... -> andy            01/01/70 00:00      

Back to Subject List