This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adam@adam-nb:~/Dropbox/school/ios/proj1$ for f in `ls *.o`; do echo "---${f}";objdump -d -j .text ${f} | grep -E "(<.*>:)|(callq)"; done | |
---print_recursive.o | |
0000000000000000 <print_fib_upto>: | |
15: e8 00 00 00 00 callq 1a <print_fib_upto+0x1a> | |
28: e8 00 00 00 00 callq 2d <print_fib_upto+0x2d> | |
3f: e8 00 00 00 00 callq 44 <print_fib_upto+0x44> | |
55: e8 00 00 00 00 callq 5a <print_fib_upto+0x5a> | |
64: e8 00 00 00 00 callq 69 <print_fib_upto+0x69> | |
7a: e8 00 00 00 00 callq 7f <print_fib_upto+0x7f> | |
0000000000000081 <print_ackermann>: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "find" | |
require "i18n" | |
I18n.enforce_available_locales = false | |
Find.find(".").each do |f| | |
if FileTest.directory?(f) | |
next | |
else | |
puts "#{f} -> #{I18n.transliterate(f)}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%include 'rw32.inc' ; nacteni knihovny rw32.inc | |
[segment .data use32] ; definice zacatku datoveho segmentu | |
; testovaci retezec | |
sArray1 dd 9000001,50000,-20432,98765 | |
length dd 4 | |
sArray2 times 100 dd 0 | |
[segment .code use32] ; definice zacatku kodoveho segementu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;************************************************************** | |
; | |
; Program HelloWorld - IAS | |
; FIT VUT v Brne | |
; | |
;************************************************************** | |
; Preklad programu lze provest nasledovne: | |
; nasm -fobj helloworld.asm | |
; alink -oPE -subsys console helloworld.obj | |
; nebo pomoci davky run.bat: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "wiringpi" | |
#GC.disable | |
io = WiringPi::GPIO.new | |
digits = [ | |
[1,1,0,0,0,0,0,0], #0 | |
[1,1,1,1,1,0,0,1], #1 | |
[1,0,1,0,0,1,0,0], #2 | |
[1,0,1,1,0,0,0,0], #3 | |
[1,0,0,1,1,0,0,1], #4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;************************************************************** | |
; | |
; Program HelloWorld - IAS | |
; FIT VUT v Brne | |
; | |
;************************************************************** | |
; Preklad programu lze provest nasledovne: | |
; nasm -fobj helloworld.asm | |
; alink -oPE -subsys console helloworld.obj | |
; nebo pomoci davky run.bat: |
NewerOlder