I found some kind of virus.

2 posts / 0 new
Last post
Offline
Last seen: 4 hours 56 min ago
Joined: Jan 11 2025 - 14:57
Posts: 12
I found some kind of virus.
AttachmentSize
Binary Data Virus.asm2.98 KB

I found some old virus code that seems to be written in assembly language. it doesn't compile for some reason. I do not know what to do. Can someone help?

mmphosis's picture
Online
Last seen: 1 hour 36 min ago
Joined: Aug 18 2005 - 16:26
Posts: 446
assemble

Remove the carriage returns. It assembles fine for me. Don't run this on a disk that you value!

sed Virus.asm 's/\r$//' > code.txt 

merlin32 '' code.txt 

6502 9B00 code

                              A=AA X=00 Y=00 S=00 P=22 PC=9B00  0

9B00- 4C 84 9D  JMP $9D84     A=AA X=00 Y=00 S=00 P=22 PC=9D84  3

9D84! end 

Log in or register to post comments