New features: DByteTable, Comments
git-svn-id: svn://svn.cc65.org/cc65/trunk@2409 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -139,6 +139,16 @@ unsigned char GetCodeByte (unsigned Addr)
|
||||
|
||||
|
||||
|
||||
unsigned GetCodeDByte (unsigned Addr)
|
||||
/* Get a dbyte from the given address */
|
||||
{
|
||||
unsigned Lo = GetCodeByte (Addr);
|
||||
unsigned Hi = GetCodeByte (Addr+1);
|
||||
return (Lo <<8) | Hi;
|
||||
}
|
||||
|
||||
|
||||
|
||||
unsigned GetCodeWord (unsigned Addr)
|
||||
/* Get a word from the given address */
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user