Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .data
- menu: .asciiz "Menu:
- 1) Swap two records
- 2) Exit
- Please choose one of the above options: "
- user_input: .asciiz "Enter in the name, age and ID for 10 students please:"
- new_line: .asciiz "\n"
- record_one: .asciiz "Record 1: "
- record_two: .asciiz "Record 2: "
- record_three: .asciiz "Record 3: "
- record_four: .asciiz "Record 4: "
- record_five: .asciiz "Record 5: "
- record_six: .asciiz "Record 6: "
- record_seven: .asciiz "Record 7: "
- record_eight: .asciiz "Record 8: "
- record_nine: .asciiz "Record 9: "
- record_ten: .asciiz "Record 10: "
- which_record: .asciiz "Which record do you select first? "
- swap_record: .asciiz "Which record do you want to swap it with? "
- #10 inputs * 4 bytes per integer * 4 bytes per integer *
- array: .data 100
- .text
- main:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement