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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/05/03 10:46
Read: times


 
#35662 - RE: Competition time !

Hi Steve;
Is it something like this?

;assuming p0.0-p0.3

mov dptr,#lookup;#1
loop:
mov a,p0;#2
clr acc.3;#3
movc a,@a+dptr;#4
jb p0.3,goto_p2;#5
mov p1,a;#6
jmp loop;#7
goto_p2:
mov p2,a ;#8
jmp loop;#9

;8 bytes
lookup:
db 01h,02h,04h,08h,10h,020h,040h,080h

Pranav

List of 60 messages in thread
TopicAuthorDate
4 -> 16 ASM routine needed            01/01/70 00:00      
RE: 4 -> 16 ASM routine needed            01/01/70 00:00      
RE: 4 -> 16 ASM routine needed            01/01/70 00:00      
RE: 4 -> 16 ASM routine needed            01/01/70 00:00      
RE: 4 -> 16 ASM routine needed            01/01/70 00:00      
RE: 4 -> 16 ASM routine needed            01/01/70 00:00      
RE: 4 -> 16 ASM routine needed            01/01/70 00:00      
RE: Competition time !            01/01/70 00:00      
RE: 4 -> 16 ASM routine needed            01/01/70 00:00      
RE: Competition time !            01/01/70 00:00      
RE: 4 -> 16 ASM routine needed            01/01/70 00:00      
RE: Competition time !            01/01/70 00:00      
RE: Competition time !            01/01/70 00:00      
RE: Competition time !            01/01/70 00:00      
RE: Competition time !            01/01/70 00:00      
RE: Competition time !            01/01/70 00:00      
RE: Competition time !            01/01/70 00:00      
RE: Competition time ! 11instruct reset            01/01/70 00:00      
RE: Competition time !            01/01/70 00:00      
RE: Competition time !bart            01/01/70 00:00      
RE: Competition time ! 11instruct reset            01/01/70 00:00      
RE: Competition time ! 11instruct reset            01/01/70 00:00      
RE: 4 -> 16 ASM routine needed            01/01/70 00:00      
RE: 4 -> 16 ASM routine needed            01/01/70 00:00      
RE: 4 -> 16 ASM routine needed            01/01/70 00:00      
RE: 4 -> 16 ASM routine needed            01/01/70 00:00      
RE: 4 -> 16 ASM routine needed            01/01/70 00:00      
RE: 4 -> 16 ASM routine needed            01/01/70 00:00      
Harwware vs Software game.            01/01/70 00:00      
RE: Harwware vs Software game.            01/01/70 00:00      
RE: 4 -> 16 ASM routine needed            01/01/70 00:00      
RE: Harwware vs Software game.            01/01/70 00:00      
RE: Harwware vs Software game.            01/01/70 00:00      
RE: Hardware vs Software game.            01/01/70 00:00      
RE: Hardware vs Software game.            01/01/70 00:00      
RE: code in action            01/01/70 00:00      
RE: code in action            01/01/70 00:00      
RE: 4 -> 16 ASM routine needed            01/01/70 00:00      
RE: 4 -> 16 ASM Michael @A+PC            01/01/70 00:00      
RE: 4 -> 16 ASM Michael @A+PC / Rob            01/01/70 00:00      
Michael Karas 2nd assembly program text            01/01/70 00:00      
RE: competition rules and prize            01/01/70 00:00      
RE: competition rules and prize            01/01/70 00:00      
RE: competition rules and prize            01/01/70 00:00      
RE: 4 -> 16 ASM Michael @A+PC / Rob            01/01/70 00:00      
RE: competition rules and prize            01/01/70 00:00      
RE: 9 line or 9 byte instruction?            01/01/70 00:00      
RE: 9 line or 9 byte instruction?            01/01/70 00:00      
RE: 4 -> 16 ASM routine needed            01/01/70 00:00      
RE: 4 -> 16 ASM routine needed,Peter            01/01/70 00:00      
RE: 4 -> 16 ASM routines            01/01/70 00:00      
RE: 4 -> 16 ASM routine needed            01/01/70 00:00      
RE: 4 -> 16 ASM... changing assignments            01/01/70 00:00      
RE: 4 -> 16 ASM... changing assignments            01/01/70 00:00      
RE: 4 -> 16 ASM... my mistake            01/01/70 00:00      
RE: 4 -> 16 ASM... my mistake            01/01/70 00:00      
RE: 4 -> 16 ASM.            01/01/70 00:00      
RE: 4 -> 16 ASM.... R0/R1            01/01/70 00:00      
RE: 4 -> 16 ASM. -- Are you serious??            01/01/70 00:00      
RE: 4 -> 16 ASM.... R0/R1            01/01/70 00:00      

Back to Subject List