84PCE:Syscalls:020AE8

From WikiTI
Revision as of 13:29, 31 May 2016 by MateoConLechuga (talk | contribs) (Created page with "VarNameToOP1HL 020AE8 - VarNameToOP1HL == Synopsis == '''Hypothesized Official Name:''' VarNameToOP1...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Synopsis

Hypothesized Official Name: VarNameToOP1HL

Syscall Address: 020AE8h

This routine places the name of a variable into OP1 by using a pointer to the VAT entry for the variable.

Inputs

  • HL = points to the start of the VAT entry for a particular variable

Outputs

  • OP1 contains the name of the variable

Destroys

  • All

Example

	ld	hl,(editSym)
	call	_VarNameToOP1HL		; lookup the temporary input symbol
	call	_ChkFindSym
	ret	c
					; Do something with the varaible data here
	ret