Lecture Notes on 10 Oct 2014 Hailstone Sequence * Prompt the user to enter two numbers - start_num and end_num * Check if both numbers are positive and that the end number is strictly greater than the start number * Define three variables - cycle_length, max_length, max_num * Create the outer loop to go from start number to end number inclusive * Set cycle_length to be zero * Create an inner loop to compute the cycle length for that number * Outside the inner loop check if cycle_length is greater than or equal to the max_length. If it is greater or equal then replace max_length with cycle_length and max_num with the number in question. * Outside the outer loop write your result Instruction Set Architecture of a Processor * Operate Instructions ADD SUB MULT DIV NOT AND OR * Data Movement LOAD STORE * Control Instructions JMP BR CMP RET