NASM - The Netwide Assembler

NASM Forum => Programming with NASM => Topic started by: arsee on June 14, 2017, 07:40:44 AM

Title: treeswitch needed
Post by: arsee on June 14, 2017, 07:40:44 AM
I'm thinking about that the assembly language can has macro framework.

Generally similar to the "switch" directive its judgement is sequential order. If meets large cases then will do a lot of judgments , it is a waste of resources.

To resolve this event I must code a sorting tree, so I think nasm maybe can create an instruction that when given "treeswitch" it can automatically assembles out codes like binary tree or B+ framework code ?!