Implement a multiqueue in IBM 370 assember langauage. The specs are: 1 master array with 50 full words 1 parallel array with 50 pointers - full word 1 controller array with 11 elements that point to the head of each queue, and the 0 element beloning to the garbage collection another controller array with 11 elements to point to the rear of each queue with the 0 element being the garbage collection needs to have six base subroutines: ENQ - will enqueue to a given que and will call DEQP DEQ - will dequeue the 1st element from a given queue and call ENQP to add an availible slot EMPTY - will check to see if a given queue is empty FULL - will check to see if the master array is full DISPA - will display the data contents of the master array DISPLAY - will display the datat contents of a given queue it will also need four other subroutines: ENQP - gets the next availible slot from the garbage collector DEQP - puts the unused slot back into the garbage collection GETSLOT-gets an availible slot from DEQP PUTSLOT-puts a slot back into ENQP feel free to ask for more specific specs
Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased. MUST BE COMMENTED VERY WELL!
Needs to run on the IBM 370 mainframe.