Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
To transfer a block of data from loc 5000H to loc 6000H with its complemented value (5bytes only)
-
albi11687yI remember when I started learning asm 6502 for coding on my student club's commodore 64, even though I don't have time to work on it anymore, I found it somehow way more fun than coding in high level languages such as C#
-
Root797507yCaps lock and no indenting make that hard to read.
Also, having the label on the right is very strange to me. -
@Ashkin I know , but for the left indent, I had to add spaces to all the code above ...so yeah ... XD
-
It looks similar to Z80 asm which I used in the good old times making calculator games, ti-86 :)
ORG 0000H
MOV R0,#00H
MOV R1,#50H
MOV R2,#00H
MOV R3,#60H
MOV R4,#05H
MOV DPL,R0 LOOP:
MOV DPH,R1
MOVX A,@DPTR
CPL A
MOV DPL,R2
MOV DPH,R3
MOVX @DPTR,A
INC R0
INC R2
DJNZ R4,LOOP
END
undefined
assemblyman
8051