Search the web
Sign In
New User? Sign Up
z390-assembler-contest · z390 Mainframe Assembler Coding Contest
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
ZMFACC Assembler Coding Contest - A new problem #14 - code the Acker   Message List  
Reply | Forward Message #48 of 70 |

All

 

ZMFACC Assembler Coding Contest - A new problem #14 - code the Ackerman function to calc a(4,1)=65533.

 

Code a macro assembler program to calculate the value of the Ackerman function a(4,1) = 65533.  The Ackerman function a(m,n) is  a recursively defined function as follows:

1.      If m = 0, then a(m, n) = n+1

2.      if m > 0 and n = 0, then a(m, n) = a(m-1,1)

3.      if m> 0 and n > 0, then a(m,n) = a(m-1,a(m,n-1))

For more information on the Ackerman function visit:

http://en.wikipedia.org/wiki/Ackermann_function

http://z390.sourceforge.net/z390_Mainframe_Assemble_Coding_Contest.htm

 

Don Higgins

mailto:don@...

http://don.higgins.net

 



Sun Jan 27, 2008 9:17 pm

dsh33782
Offline Offline
Send Email Send Email

Forward
Message #48 of 70 |
Expand Messages Author Sort by Date

All ZMFACC Assembler Coding Contest - A new problem #14 - code the Ackerman function to calc a(4,1)=65533. Code a macro assembler program to calculate the...
Don Higgins
dsh33782
Offline Send Email
Jan 27, 2008
10:00 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help