Skip to content

Commit

Permalink
add note
Browse files Browse the repository at this point in the history
  • Loading branch information
christo committed Dec 21, 2024
1 parent 2c75a5e commit 5c92d13
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/src/machine/asm/DisassemblyMetaImpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ class DisassemblyMetaImpl implements DisassemblyMeta {
this.symbolResolver = symbolResolver;
}

/**
* Read the absolute base address from the given {@link FileBlob} using configured offset.
* FUTURE: assumes base load address is present in fb
* @param fb the FileBlob
*/
baseAddress(fb: FileBlob): number {
return fb.read16(this._baseAddressOffset);
}
Expand Down

0 comments on commit 5c92d13

Please sign in to comment.