Xlat_API_Var_Len Segment, Offset, Length
Copies a specified number of bytes from the protected-mode address to the translation copy buffer and converts the address into a V86-mode address.
For example, Write String (Interrupt 10h Function 0Eh) is called with the ES:BP register pair pointing to the string to print and the CX register specifying the number of bytes to display. The following script translates this function:
Int_10h_Write_String:
Xlat_API_Var_Len es, bp, cx
Xlat_API_Exec_Int 10h