• 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. 参考
    • Is this useful?
    • English (US)
    • Deutsch
    • 正體中文 (繁體)

此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。

在本文中

  • 参见
  1. WebAssembly
  2. Guides
  3. WebAssembly 概念
  4. 将 C/C++ 编译为 WebAssembly
  5. Compiling an existing C module to WebAssembly
  6. 将 Rust 编译为 WebAssembly
  7. 使用 WebAssembly JavaScript API
  8. 理解 WebAssembly 文本格式
  9. Converting WebAssembly text format
  10. 加载和运行 WebAssembly 代码
  11. 导出的 WebAssembly 函数
  12. JavaScript builtins
  13. Imported global string constants
  14. Reference
  15. JavaScript 接口
    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() 构造函数
    4. WebAssembly.Instance
      1. WebAssembly.Instance.prototype.exports
      2. WebAssembly.Instance() 构造函数
    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 构造函数
      2. WebAssembly.Exception.prototype.getArg()
      3. WebAssembly.Exception.prototype.is()
      4. WebAssembly.Exception.prototype.stack 非标准
    9. WebAssembly.CompileError
      1. WebAssembly.CompileError() 构造函数
    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 指令参考

本页列出了在 Web 上使用 WebAssembly 的指令参考。

WebAssembly

WebAssembly JavaScript 对象是所有 WebAssembly 相关功能的命名空间。

WebAssembly 控制流指令

WebAssembly 控制流指令。

参见

  • WebAssembly

Help improve MDN

Learn how to contribute.

This page was last modified on 2025年4月14日 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.