SWAP.cs 609 B

12345678910111213141516171819202122232425262728
  1. namespace OpenVIII.Fields.Scripts.Instructions
  2. {
  3. /// <summary>
  4. /// Swap?
  5. /// </summary>
  6. /// <see cref="http://wiki.ffrtt.ru/index.php?title=FF8/Field/Script/Opcodes/162_SWAP&action=edit&redlink=1"/>
  7. public sealed class SWAP : JsmInstruction
  8. {
  9. #region Constructors
  10. public SWAP()
  11. {
  12. }
  13. public SWAP(int parameter, IStack<IJsmExpression> stack)
  14. : this()
  15. {
  16. }
  17. #endregion Constructors
  18. #region Methods
  19. public override string ToString() => $"{nameof(SWAP)}()";
  20. #endregion Methods
  21. }
  22. }