Author Topic: treeswitch needed  (Read 771 times)

Offline arsee

  • New Member
  • Posts: 1
treeswitch needed
« 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 ?!
« Last Edit: June 14, 2017, 01:21:44 PM by arsee »