Questions tagged [jump-table]

A jump table (also known as a branch table) is used to transfer program control (branching) to another part of the program by storing a table of branch instructions.

63 questions
-1
votes
1 answer

How to perform a forward reference in MASM assembly Language?

.386 .MODEL FLAT ExitProcess PROTO NEAR32 stdcall,dwExitCode:DWORD Include io.h cr equ 0DH Lf equ 0AH .STACK 4096 .DATA number dword ? string byte 40 dup(?) rejected byte ", Rejected",cr,0 positiveNumber byte ", Positive",cr,0 negativeNumber byte…
Mutating Algorithm
  • 2,604
  • 2
  • 29
  • 66
-1
votes
2 answers

What does the MOVHS command in ARM assembly do?

I'm having a hard time understanding what this command does. I'm guessing it means mov halfword signed into a register, but i'm not sure. Any help would be appreciated!
user2403571
-5
votes
1 answer

Jump Table - assembly 8086

I've tried to make switch case like this: switch (si) { case 1: printf( “Number One” ); break; case 2: printf( “Number Two” ); break; case 3: printf( “Number Three” ); break; case 4: printf( “Number Four” ); break; …
user3621372
  • 11
  • 1
  • 2
1 2 3 4
5