• Skip to main content
  • Skip to search
  • Skip to select language

Learn front-end development with high quality, interactive courses from Scrimba. Enroll now!

MDN Web Docs
  • References
    • Overview / Web Technology

      Web technology reference for developers

    • HTML

      Structure of content on the web

    • CSS

      Code used to describe document style

    • JavaScript

      General-purpose scripting language

    • HTTP

      Protocol for transmitting web resources

    • Web APIs

      Interfaces for building web applications

    • Web Extensions

      Developing extensions for web browsers

    • Accessibility

      Build web projects usable for all

    • Web Technology

      Web technology reference for developers

  • Learn
    • Overview / MDN Learning Area

      Learn web development

    • MDN Learning Area

      Learn web development

    • HTML

      Learn to structure web content with HTML

    • CSS

      Learn to style content using CSS

    • JavaScript

      Learn to run scripts in the browser

    • Accessibility

      Learn to make the web accessible to all

  • Plus
    • Overview

      A customized MDN experience

    • AI Help

      Get real-time assistance and support

    • Updates

      All browser compatibility updates at a glance

    • Documentation

      Learn how to use MDN Plus

    • FAQ

      Frequently asked questions about MDN Plus

  • Curriculum New
  • Blog
    • Playground

      Write, test and share your code

    • HTTP Observatory

      Scan a website for free

    • AI Help

      Get real-time assistance and support

  1. WebAssembly
  2. WebAssembly 參考指令
    • Is this useful?
    • English (US)
    • Deutsch
    • 中文 (简体)

此頁面由社群從英文翻譯而來。了解更多並加入 MDN Web Docs 社群。

  1. WebAssembly
  2. Guides
  3. WebAssembly concepts
  4. Compiling from C/C++ to WebAssembly
  5. Compiling an existing C module to WebAssembly
  6. Compiling from Rust to WebAssembly
  7. Using the WebAssembly JavaScript API
  8. Understanding WebAssembly text format
  9. Converting WebAssembly text format
  10. Loading and running WebAssembly code
  11. Exported WebAssembly functions
  12. JavaScript builtins
  13. Imported global string constants
  14. Reference
  15. JavaScript interface
    1. WebAssembly
      1. WebAssembly.compile()
      2. WebAssembly.compileStreaming()
      3. WebAssembly.instantiate()
      4. WebAssembly.instantiateStreaming()
      5. WebAssembly.validate()
    2. WebAssembly.Module
      1. WebAssembly.Module.customSections()
      2. WebAssembly.Module.exports()
      3. WebAssembly.Module.imports()
      4. WebAssembly.Module() constructor
    3. WebAssembly.Global
      1. WebAssembly.Global() constructor
    4. WebAssembly.Instance
      1. WebAssembly.Instance.prototype.exports
      2. WebAssembly.Instance() constructor
    5. WebAssembly.Memory
      1. WebAssembly.Memory.prototype.buffer
      2. WebAssembly.Memory.prototype.grow()
      3. WebAssembly.Memory() constructor
    6. WebAssembly.Table
      1. WebAssembly.Table.prototype.get()
      2. WebAssembly.Table.prototype.grow()
      3. WebAssembly.Table.prototype.length
      4. WebAssembly.Table.prototype.set()
      5. WebAssembly.Table() constructor
    7. WebAssembly.Tag
      1. WebAssembly.Tag.prototype.type()
      2. WebAssembly.Tag() constructor
    8. WebAssembly.Exception
      1. WebAssembly.Exception constructor
      2. WebAssembly.Exception.prototype.getArg()
      3. WebAssembly.Exception.prototype.is()
      4. WebAssembly.Exception.prototype.stack Non-standard
    9. WebAssembly.CompileError
      1. WebAssembly.CompileError() constructor
    10. WebAssembly.LinkError
      1. WebAssembly.LinkError() constructor
    11. WebAssembly.RuntimeError
      1. WebAssembly.RuntimeError() constructor
  16. Instructions
    1. Control flow
      1. block
      2. br
      3. call
      4. Drop
      5. end
      6. if...else
      7. loop
      8. nop
      9. return
      10. Select
      11. unreachable
    2. Memory
      1. copy
      2. fill
      3. grow
      4. load
      5. size
      6. store
    3. Numeric
      1. Absolute
      2. Addition
      3. AND
      4. Ceil
      5. Const
      6. Convert
      7. Copy sign
      8. Count leading zeros
      9. Count trailing zeros
      10. Demote
      11. Division
      12. Equal
      13. Extend
      14. Floor
      15. Greater or equal
      16. Greater than
      17. Left rotate
      18. Left shift
      19. Less or equal
      20. Less than
      21. Max
      22. Min
      23. Multiplication
      24. Nearest
      25. Negate
      26. Not equal
      27. OR
      28. Population count
      29. Promote
      30. Reinterpret
      31. Remainder
      32. Right rotate
      33. Right shift
      34. Square root
      35. Subtraction
      36. Truncate (float to float)
      37. Truncate (float to int)
      38. Wrap
      39. XOR
    4. Variables
      1. Global
      2. Global get
      3. Global set
      4. Local
      5. Local get
      6. Local set
      7. Local tee

WebAssembly 參考指令

  • 數字相關指令
  • 變數相關指令
  • 記憶體相關指令
  • 控制流相關指令

Help improve MDN

Learn how to contribute.

This page was last modified on 2024年7月3日 by MDN contributors.

View this page on GitHub • Report a problem with this content
MDN logo

Your blueprint for a better internet.

  • MDN on Bluesky
  • MDN on Mastodon
  • MDN on X (formerly Twitter)
  • MDN on GitHub
  • MDN Blog RSS Feed

MDN

  • About
  • Blog
  • Careers
  • Advertise with us

Support

  • Product help
  • Report an issue

Our communities

  • MDN Community
  • MDN Forum
  • MDN Chat

Developers

  • Web Technologies
  • Learn Web Development
  • MDN Plus
  • Hacks Blog
  • Website Privacy Notice
  • Cookies
  • Legal
  • Community Participation Guidelines

Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2025 by individual mozilla.org contributors. Content available under a Creative Commons license.