/col216-as2-b

COL216 Assignment 2 Subtask B

Primary LanguageAssembly

Structure

. ├── 1 │   ├── 1.asm │   └── 1.png ├── 2 │   ├── 2a.asm │   ├── 2a.png │   ├── 2b.asm │   ├── 2b.png │   ├── 2c.asm │   ├── 2c.png │   └── plots │   ├── main.py │   ├── n=10.png │   ├── n=20.png │   └── n=30.png ├── 3 │   ├── 3.asm │   └── 3.png └── README.md

5 directories, 15 files

IO Format

1

Input n, press enter, input r, press enter nCr is computed and printed.

2

Input n, press enter, sum is logged.

3

Give input string, press enter. result is caluclated and printed.

Assumptions

1

Please use 64 bit mode for n >= 12

2

Assuming sum can be stored in the space of an int

3

Assuming the input string is valid