Package org.applecommander.os.pascal
Record Class AssemblyProcedure
java.lang.Object
java.lang.Record
org.applecommander.os.pascal.AssemblyProcedure
public record AssemblyProcedure(DataBuffer data, int procNum, int relocSegNum, int enterIC, int attrs, int endIC, int[] baseRelativeReloc, int[] segRelativeReloc, int[] procRelativeReloc, int[] interpRelativeReloc)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionAssemblyProcedure(DataBuffer data, int procNum, int relocSegNum, int enterIC, int attrs, int endIC, int[] baseRelativeReloc, int[] segRelativeReloc, int[] procRelativeReloc, int[] interpRelativeReloc) Creates an instance of aAssemblyProcedurerecord class. -
Method Summary
Modifier and TypeMethodDescriptionintattrs()Returns the value of theattrsrecord component.int[]Returns the value of thebaseRelativeRelocrecord component.byte[]data()Returns the value of thedatarecord component.intendIC()Returns the value of theendICrecord component.intenterIC()Returns the value of theenterICrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.int[]Returns the value of theinterpRelativeRelocrecord component.static AssemblyProcedureload(DataBuffer data, int attrs, int givenProcNum) intprocNum()Returns the value of theprocNumrecord component.int[]Returns the value of theprocRelativeRelocrecord component.intReturns the value of therelocSegNumrecord component.int[]Returns the value of thesegRelativeRelocrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AssemblyProcedure
public AssemblyProcedure(DataBuffer data, int procNum, int relocSegNum, int enterIC, int attrs, int endIC, int[] baseRelativeReloc, int[] segRelativeReloc, int[] procRelativeReloc, int[] interpRelativeReloc) Creates an instance of aAssemblyProcedurerecord class.- Parameters:
data- the value for thedatarecord componentprocNum- the value for theprocNumrecord componentrelocSegNum- the value for therelocSegNumrecord componententerIC- the value for theenterICrecord componentattrs- the value for theattrsrecord componentendIC- the value for theendICrecord componentbaseRelativeReloc- the value for thebaseRelativeRelocrecord componentsegRelativeReloc- the value for thesegRelativeRelocrecord componentprocRelativeReloc- the value for theprocRelativeRelocrecord componentinterpRelativeReloc- the value for theinterpRelativeRelocrecord component
-
-
Method Details
-
codeBytes
public byte[] codeBytes() -
load
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
data
Returns the value of thedatarecord component.- Returns:
- the value of the
datarecord component
-
procNum
public int procNum()Returns the value of theprocNumrecord component.- Returns:
- the value of the
procNumrecord component
-
relocSegNum
public int relocSegNum()Returns the value of therelocSegNumrecord component.- Returns:
- the value of the
relocSegNumrecord component
-
enterIC
public int enterIC()Returns the value of theenterICrecord component.- Returns:
- the value of the
enterICrecord component
-
attrs
public int attrs()Returns the value of theattrsrecord component.- Returns:
- the value of the
attrsrecord component
-
endIC
public int endIC()Returns the value of theendICrecord component.- Returns:
- the value of the
endICrecord component
-
baseRelativeReloc
public int[] baseRelativeReloc()Returns the value of thebaseRelativeRelocrecord component.- Returns:
- the value of the
baseRelativeRelocrecord component
-
segRelativeReloc
public int[] segRelativeReloc()Returns the value of thesegRelativeRelocrecord component.- Returns:
- the value of the
segRelativeRelocrecord component
-
procRelativeReloc
public int[] procRelativeReloc()Returns the value of theprocRelativeRelocrecord component.- Returns:
- the value of the
procRelativeRelocrecord component
-
interpRelativeReloc
public int[] interpRelativeReloc()Returns the value of theinterpRelativeRelocrecord component.- Returns:
- the value of the
interpRelativeRelocrecord component
-