Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force Data in dissasmbly #4

Closed
oziphantom opened this issue Dec 23, 2018 · 1 comment
Closed

Force Data in dissasmbly #4

oziphantom opened this issue Dec 23, 2018 · 1 comment

Comments

@oziphantom
Copy link

How do I force an address to show as data?

62E1: C9               	 	RET

62E2: FB               	 L62E2:	EI
62E3: 00               	 	NOP
62E4: 00               	 	NOP
62E5: 40               	 	LD	B,B
62E6: FB               	 	EI
62E7: 10 00            	 	DJNZ	L62E9

                       		; Referenced from 62E7
62E9: 4E               	 L62E9:	LD	C,(HL)
62EA: FB               	 	EI
62EB: 00               	 	NOP
62EC: 00               	 	NOP
62ED: 41               	 	LD	B,C

                       		; Referenced from 2347
62EE: FA 10 00         	 L62EE:	JP	M,L0010
62F1: 4E               	 	LD	C,(HL)
62F2: FA 00 00         	 	JP	M,L0000
62F5: 42               	 	LD	B,D
62F6: 00               	 	NOP
62F7: 00               	 	NOP
62F8: 00               	 	NOP
62F9: 00               	 	NOP
62FA: FB               	 	EI
62FB: FE 00            	 	CP	00h
62FD: 43               	 	LD	B,E
62FE: FB               	 	EI
62FF: 0E 00            	 	LD	C,00h
6301: 4E               	 	LD	C,(HL)
6302: FB               	 	EI
6303: 00               	 	NOP
6304: 00               	 	NOP
6305: 49               	 	LD	C,C
6306: FB               	 	EI
6307: 10 00            	 	DJNZ	L6309

                       		; Referenced from 6307
6309: 4F               	 L6309:	LD	C,A
630A: FC 00 00         	 	CALL	M,L0000
630D: 44               	 	LD	B,H
630E: 00               	 	NOP
630F: 00               	 	NOP
6310: 00               	 	NOP
6311: 00               	 	NOP
6312: FD 00            	 	NOP
6314: 03               	 	INC	BC
6315: 44               	 	LD	B,H
6316: 00               	 	NOP
6317: 00               	 	NOP
6318: 00               	 	NOP
6319: 00               	 	NOP
631A: FB               	 	EI
631B: 08               	 	EX	AF,AF'
631C: 00               	 	NOP
631D: 45               	 	LD	B,L
631E: 00               	 	NOP
631F: 00               	 	NOP
6320: 00               	 	NOP
6321: 00               	 	NOP
6322: FB               	 	EI
6323: 08               	 	EX	AF,AF'
6324: 00               	 	NOP
6325: 46               	 	LD	B,(HL)
6326: 00               	 	NOP
6327: 00               	 	NOP
6328: 00               	 	NOP
6329: 00               	 	NOP
632A: 00               	 	NOP
632B: 00               	 	NOP
632C: 00               	 	NOP
632D: 00               	 	NOP
632E: 00               	 	NOP
632F: 00               	 	NOP
6330: 00               	 	NOP
6331: 00               	 	NOP
6332: FD 00            	 	NOP
6334: 00               	 	NOP
6335: 4A               	 	LD	C,D
6336: 00               	 	NOP
6337: 00               	 	NOP
6338: 00               	 	NOP
6339: 00               	 	NOP
633A: FC 00 00         	 	CALL	M,L0000
633D: 47               	 	LD	B,A
633E: 00               	 	NOP
633F: 00               	 	NOP
6340: 00               	 	NOP
6341: 00               	 	NOP
6342: FC 00 00         	 	CALL	M,L0000
6345: 48               	 	LD	C,B
6346: 00               	 	NOP
6347: 00               	 	NOP
6348: 00               	 	NOP
6349: 00               	 	NOP
634A: FD 00            	 	NOP
634C: 00               	 	NOP
634D: 4B               	 	LD	C,E
634E: 00               	 	NOP
634F: 00               	 	NOP
6350: 00               	 	NOP
6351: 00               	 	NOP

has nothing referring it and is clearly garbage.

@toptensoftware
Copy link
Owner

Did you specify a "--entry:" point when disassembling?

See instructions here which state:

If one or more --entry arguments are specified (recommended), the file is disassembled by following the code paths from those entry points. All unvisited regions will be rendered as 'DB' directives.
If the --entry argument is not specified, the file is disassembled from top to bottom.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants