; Assemble options needed: none

          .model  large
          .data
jumptable DD      routine1
          DD      routine2

          .code
start:    MOV     ax, @data
          MOV     ds, ax
          CALL    DWORD PTR  jumptable
          JMP     DWORD PTR  jumptable+4
          RET

cseg      SEGMENT word public 'code'
routine1  PROC
          RET
routine1  ENDP

routine2  PROC
          RET
routine2  ENDP
cseg      ENDS

          END     start

相关文章:

  • 2022-01-01
  • 2021-06-29
  • 2021-12-24
  • 2021-06-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-07
猜你喜欢
  • 2022-12-23
  • 2021-12-25
  • 2022-01-14
  • 2022-12-23
  • 2021-11-16
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案