looks like a fish
[Forum Game] Paste whatever's on your clipboard!
Literature
#1100
Crunchyroll doesn’t have all anime titles and if you don’t have premium, it’s not worth watching there
Mynamerr
#1106
/ イ (((ヽ
( ノ  ̄Y\
| (\ (. /) | )
ヽ ヽ` ( ͡° ͜ʖ ͡°) _ノ /
\ | ⌒Y⌒ / /
|ヽ | ノ /
\トー仝ーイ
| ミ土彡/
) \ ° /
( \ /
/ / 8============D
/ / / \ \ \
( ( ). ) ). )
( ). ( | |
| / \ |
Xaklor
#1109
print(‘Frequency of letters for’, book1_name)
for letter in sorted_letter:
bar = Text_Tools.draw_bar(letter[0], letter[1], +)
print(bar)
Survivor
#1113
.text
mystring: .asciz "Name\: [omitted]\nnetID\: [omitted]\nAssignment 1b\: inout\n"
askstring: .asciz "What is the number you want to increment?\n"
formatstr: .asciz "%ld"
newline: .asciz "\n"
.global main
main:
pushq %rbp # Prologue: push the base pointer
movq %rsp, %rbp # and copy stack pointer to RBP
movq $0, %rax # no vector registers in use for printf
movq $mystring, %rdi # load string adress
call printf # call printf routine
movq $0, %rax # no vector registers in use for printf
movq $askstring, %rdi # load string adress
call printf # call printf routine
movq %rbp, %rsp # Epilogue: clear local variables from stack
popq %rbp # restore base pointer
call inout # calls inout
end:
movq $0, %rdi # load exit code
call exit # call exit function
inout:
pushq %rbp # push base pointer
movq %rsp, %rbp # copy stack pointer to RBP
subq $8, %rsp # reserve stack space for variable
leaq -8(%rbp), %rsi # load adress of stack var in rsi
movq $formatstr, %rdi # load first argument of scanf
movq $0, %rax # no vector registers for scanf
call scanf # call scanf routine
incq -8(%rbp) # increment
movq -8(%rbp), %rsi # load adress of stack var in rsi
movq $0, %rax # no vector registers in use for printf
movq $formatstr, %rdi # load string adress
call printf # call printf routine
movq $0, %rax # no vector registers in use for printf
movq $newline, %rdi # load string adress
call printf # call printf routine
movq %rbp, %rsp # epilogue: clear local variables from stack
popq %rbp # restore caller's base pointer
ret