nswtuw() public method

public nswtuw ( $uword )
 /**
  * Opcode #0xF8.
  *
  * LDHL SP, n
  *
  * @param Core $core
  */
 public static function opcode248(Core $core)
 {
     $signedByte = $core->usbtsb($core->memoryRead($core->programCounter));
     $core->registersHL = $core->nswtuw($core->stackPointer + $signedByte);
     $core->FCarry = (($core->stackPointer ^ $signedByte ^ $core->registersHL) & 0x100) == 0x100;
     $core->FHalfCarry = (($core->stackPointer ^ $signedByte ^ $core->registersHL) & 0x10) == 0x10;
     $core->programCounter = $core->programCounter + 1 & 0xffff;
     $core->FZero = $core->FSubtract = false;
 }