max_stars_repo_path
stringlengths
3
255
max_stars_repo_name
stringlengths
5
116
max_stars_count
int64
0
107k
id
stringlengths
1
7
content
stringlengths
63
1.05M
test/Token/TokenTest.asm
leonardo-ono/asm4mo
10
129669
<reponame>leonardo-ono/asm4mo ;=============================================================================== ; class TokenTest ;=============================================================================== bits 16 org 32768 start: call token.clear mov al, 'a' call token.addChar mov al, 'D' call token.addCha...
target_code/dcache.asm
jbush001/risc_processor
14
129671
<filename>target_code/dcache.asm ; ; Copyright 2008-2012 <NAME> ; ; Licensed under the Apache License, Version 2.0 (the "License"); ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apache.org/licenses/LICENSE-2.0 ; ; Unless required by a...
oeis/131/A131135.asm
neoneye/loda-programs
11
129673
; A131135: Denominator of (ordinary) expansion of log((x/2-1)/(x-1)). ; Submitted by <NAME> ; 1,2,8,24,64,160,128,896,2048,4608,10240,22528,16384,106496,229376,491520,1048576,2228224,524288,9961472,4194304,6291456,92274688,192937984,134217728,838860800,1744830464,3623878656,7516192768 mov $1,1 lpb $0 sub $0,1 mov ...
General/Special Stage/Map - Eosian Spheres.asm
NatsumiFox/AMPS-Sonic-3-Knuckles
5
129675
dc.w word_23BF0-Map_SphereTest dc.w word_23BF8-Map_SphereTest dc.w word_23C00-Map_SphereTest dc.w word_23C08-Map_SphereTest dc.w word_23C10-Map_SphereTest dc.w word_23C18-Map_SphereTest dc.w word_23C20-Map_SphereTest dc.w word_23C28-Map_SphereTest dc.w word_23C30-Map_SphereTest dc.w word_23C38-Map_S...
test/movntdqa.asm
cryptoptusenix/assemblyline
0
129676
SECTION .text GLOBAL test test: movntdqa xmm0, [rsi ] movntdqa xmm7, [esi ] movntdqa xmm2, [rbp ] movntdqa xmm6, [ebp ] movntdqa xmm1, [r12 ] movntdqa xmm2, [r12d ] movntdqa xmm3, [r11 ] movntdqa xmm4, [r11d ]
projects/08/ProgramFlow/FibonacciSeries/FibonacciSeries.asm
Liquidibrium/nand2tetris
0
129677
<reponame>Liquidibrium/nand2tetris //push ARG 1 @1 D=A @ARG A=M+D D=M @SP A=M M=D @SP M=M+1 //pointer @THAT D=A @R13 M=D @SP AM=M-1 D=M @R13 A=M M=D //push const 0 @0 D=A @SP A=M M=D @SP M=M+1 //pop THAT 0 @THAT D=M @0 D=D+A @R13 M=D @SP AM=M-1 D=M @R13 A=M M=D //push const 1 @1 D=A @SP A=M M=D @SP M=M+1 //pop THAT 1 @...
AOC/Meus Exercicios/Aula9/exercicio1.asm
joao-frohlich/BCC
10
129678
.data ans_text: .asciiz "Fat(9): " .text # <NAME> .globl main main: li $s1, 9 # n=9 li $t1, 1 # contador li $s0, 1 # valor base fat: mul $s0, $s0, $t1 # multiplicacao addi $t1, $t1, 1 # incrementa contador slt $t0, $s1, $t1 # cont < n beq $t0, $zero, fat # saindo do loop j print_end print_en...
graphics/menu/menumacros.asm
Dimedime-d/kptranslation
3
129679
<reponame>Dimedime-d/kptranslation<gh_stars>1-10 .macro menu_button_128x16_header .byte 0x04,0x70,0x40,0x08, \ 0xC0,0xF8,0x24,0x08, \ 0xE0,0xF8,0x24,0x08, \ 0x00,0xF8,0x24,0x08, \ 0x20,0xF8,0x24,0x08 .endmacro .macro menu_button_128x16_header_compressed .byte ...
oeis/041/A041022.asm
neoneye/loda-programs
11
129680
; A041022: Numerators of continued fraction convergents to sqrt(15). ; Submitted by <NAME> ; 3,4,27,31,213,244,1677,1921,13203,15124,103947,119071,818373,937444,6443037,7380481,50725923,58106404,399364347,457470751,3144188853,3601659604,24754146477,28355806081,194888982963,223244789044,1534357717227,1757602506271,12079...
src/parser/ParserCommandFinish.asm
jhm-ciberman/calculator-asm
2
129681
;;; ; Process the contents of the command buffer and executes the asociated command ; If the buffer is empty, this function does nothing ;;; proc ParserCommandFinish ; if (buffi != 0) mov rdx, [_lg_buffer_length] cmp rdx, 0 jz .done ; buff[buffi] = 0; mov byte[_lg_buffer_str + rdx]...
libsrc/stdio/__printf_get_buffer_address.asm
jpoikela/z88dk
0
129682
MODULE __printf_get_buffer_address SECTION code_clib PUBLIC __printf_get_buffer_address EXTERN __printf_context ; Gets the temporary buffer address ; Entry: ix = frame pointer ; Exit: hl = address ; Uses: bc __printf_get_buffer_address: IF __CPU_INTEL__ ld hl,(__printf_context) ELSE push ix ...
P6/data_P6_2/MDTest22.asm
alxzzhou/BUAA_CO_2020
1
129683
<filename>P6/data_P6_2/MDTest22.asm ori $ra,$ra,0xf lui $6,27840 lui $0,13961 lb $6,1($0) srav $1,$1,$1 sll $4,$1,29 multu $0,$5 addu $5,$4,$4 mthi $1 srav $0,$1,$0 mflo $4 mult $3,$4 divu $1,$ra mtlo $5 mult $5,$5 divu $4,$ra sb $0,14($0) mfhi $4 lui $6,38041 mflo $4 lb $1,13($0) addu $6,$2,$6 div $3,$ra mthi $6 multu...
45/qb/ir/ssrules.asm
minblock/msdos
0
129684
page 49,132 TITLE ssrules - Scanner Table Definitions ;*** ;ssrules.asm - Scanner Table Definitions ; ; Copyright <C> 1986, Microsoft Corporation ; ;Purpose: ; ; This module defines the coercion and rules tables used by the scanner. ; The following is a description of how all scan tables are organized. ; ; tOpSs...
programs/oeis/096/A096285.asm
karttu/loda
0
129685
; A096285: Denominator of the ratio of the preceding two terms. ; 1,1,2,2,1,1,1,1,2,2,1,1,1,1,2,2,1,1,1,1,2,2,1,1,1,1,2,2,1,1,1,1,2,2,1,1,1,1,2,2,1,1,1,1,2,2,1,1,1,1,2,2,1,1,1,1,2,2,1,1,1,1,2,2,1,1,1,1,2,2,1,1,1,1,2,2,1,1,1,1,2,2,1,1,1,1,2,2,1,1,1,1,2,2,1,1 mov $1,$0 mod $1,6 div $1,2 mod $1,2 add $1,1
asm/mxemsgtb.asm
rscott-rocket/mxe
8
129687
MXEMSGTB TITLE 'MXE MESSAGE TABLE' MXEMSGTB CSECT MXEMSGTB AMODE 31 MXEMSGTB RMODE ANY * * INDEX DEFINITION MUST COME FIRST BEFORE ANY MESSAGE TABLE * TEMPLATE STATEMENTS * MXEMSGDF INDEX,MAX=10 * * * MESSAGE TABLE ENTRIES * MXEMSGDF START,NUM=0001,SEV=E MXEMSGDF TEXT,' PARSE ERROR - RESPECIF...
data/items/mail_items.asm
Dev727/ancientplatinum
28
129688
MailItems: db FLOWER_MAIL db SURF_MAIL db LITEBLUEMAIL db PORTRAITMAIL db LOVELY_MAIL db EON_MAIL db MORPH_MAIL db BLUESKY_MAIL db MUSIC_MAIL db MIRAGE_MAIL db -1
include/vid_util.asm
iamorphen/dmg-gb-tutorial
1
129689
; This file defines routines to work with the video system, query state, etc. IF !DEF(VID_UTIL_ASM) VID_UTIL_ASM SET 1 PUSHS SECTION "mem_util_asm",ROMX ; Waits for V-Blank period. V-Blank occurs when LY is in the range [144, 153]. ; ; This routine only returns when LY is 144, though, to give the caller the ; larges...
oeis/015/A015503.asm
neoneye/loda-programs
11
129690
<filename>oeis/015/A015503.asm ; A015503: a(1)=1, a(n) = sum_{k=1}^{k=n-1} (4^k-1)/3 a(k). ; Submitted by <NAME> ; 1,1,6,132,11352,3882384,5303336544,28966824203328,632809241545903488,55296137144764138588416,19327437631660830304254690816,27021729207700270170039091739231232,151116480551518237100547636877027177224192 su...
005.BootSectorFuncStrings/boot_sect_print.asm
mukeshmike9/AssemblyBootSector
1
129691
<gh_stars>1-10 print: ; Save all the Registers pusha ; similar to ; while(string[i] != 0) ; { ; print string[i] ; i++; ; } start: ; bx is the base address for the string mov al, [bx] cmp al, 0 je done ; if end of string, print has been completed ; al already has the value, set tty mode and invoke int...
x86/Search_Init.asm
lantonov/asm
150
129692
<gh_stars>100-1000 Search_Init: push r14 r13 r12 rbp rdi rsp rbx lea r12, [Reductions] xor ebp, ebp xor ebx, ebx ._0048: mov rax, rbp mov esi, ebp mov edi, 1 shl rax, 14 xor esi, 01H lea r14, [r12+rax+100H] and esi, 01H ._0049: _vpxor xmm0, xmm0, xmm0 _vcvtsi...
8088/arduino_keyboard/chirp.asm
reenigne/reenigne
92
129693
<reponame>reenigne/reenigne %include "../defaults_bin.asm" in al,0x61 or al,3 out 0x61,al mov al,TIMER2 | BOTH | MODE3 | BINARY out 0x43,al mov cx,0xffff chirpLoopTop: mov al,cl out 0x42,al mov al,ch out 0x42,al loop chirpLoopTop retf
SumoBot_Code_Dev/SumoBot_Maze/asm/src/floor_det_service.asm
CmdrZin/chips_avr_examples
5
129694
<filename>SumoBot_Code_Dev/SumoBot_Maze/asm/src/floor_det_service.asm /* * Sumo Maze Bot Floor Detector Code * * org: 01/21/2015 * auth: Nels "Chip" Pearson * * Target: Sumo Maze Bot Board, 20MHz, ATmega164P, Sumo Bot base * * Uses ADC to measure detector output. * * Dependencies * adc_triggered.asm * * Re...
oeis/037/A037960.asm
neoneye/loda-programs
11
129695
<filename>oeis/037/A037960.asm ; A037960: a(n) = (n+2)!*n*(3*n+1)/24. ; Submitted by <NAME> ; 0,1,14,150,1560,16800,191520,2328480,30240000,419126400,6187104000,97037740800,1612798387200,28332944640000,524813313024000,10226013557760000,209144207720448000,4480594531725312000,100357207837286400000,2345925761384325120000,...
programs/oeis/175/A175656.asm
karttu/loda
0
129696
<filename>programs/oeis/175/A175656.asm ; A175656: Eight bishops and one elephant on a 3 X 3 chessboard. G.f.: (1-3*x^2)/(1-3*x+4*x^3). ; 1,3,6,14,30,66,142,306,654,1394,2958,6258,13198,27762,58254,121970,254862,531570,1106830,2301042,4776846,9903218,20505486,42409074,87614350,180821106,372827022,768023666,1580786574,3...
Appl/Calendar/CDPlayer/cdplayer.asm
steakknife/pcgeos
504
129697
<filename>Appl/Calendar/CDPlayer/cdplayer.asm COMMENT @---------------------------------------------------------------------- Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: CD Audio Interface FILE: cdplayer.asm REVISION HISTORY: Name Date Description ---- ---- ----------...
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca_notsx.log_21829_25.asm
ljhsiun2/medusa
9
129698
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x9f12, %rsi lea addresses_WC_ht+0x1ea12, %rdi nop add $64200, %rdx mov $89, %rcx rep movsl nop nop nop nop nop dec %rbx lea addresses_WT_ht+0x1bc8e, ...
emulator/src/test.asm
ashitani/TD4
0
129700
<filename>emulator/src/test.asm MOV A,7 ; 0x37 LOOP: ADD A,1 ; 0x01 JNC LOOP ; 0xE1 OUT 15 ; 0xBF HALT: JMP HALT ; 0xF4
sk/sfx/54.asm
Cancer52/flamedriver
9
129701
<reponame>Cancer52/flamedriver<gh_stars>1-10 Sound_54_Header: smpsHeaderStartSong 3 smpsHeaderVoice Sound_54_Voices smpsHeaderTempoSFX $01 smpsHeaderChanSFX $02 smpsHeaderSFXChannel cFM3, Sound_54_FM3, $00, $03 smpsHeaderSFXChannel cPSG3, Sound_54_PSG3, $00, $00 ; FM3 Data Sound_54_FM3: smpsSetvoice ...
oeis/127/A127536.asm
neoneye/loda-programs
11
129702
; A127536: Sum of jump-lengths of all even trees with 2n edges. An even tree is an ordered tree in which each vertex has an even outdegree. In the preorder traversal of an ordered tree, any transition from a node at a deeper level to a node on a strictly higher level is called a jump; the positive difference of the lev...
bootloader/stage1.asm
sihai90/thos
0
129703
;======================================================================= ; Copyright <NAME> 2013. ; Distributed under the Boost Software License, Version 1.0. ; (See accompanying file LICENSE_1_0.txt or copy at ; http://www.boost.org/LICENSE_1_0.txt) ;===================================================================...
toProtectionMode.asm
xym5366/xym
0
129704
;第一弹,保护模式的进出,已经在虚拟机中调试成功,还需要再研究一下,先发出来, ;大家一起研究一下。 ;功能:演示实方式和保护方式切换 ;16位偏移的段间直接转移指令的宏定义 JUMP MACRO SELECTOR,OFFSETV db 0eah ;操作码 dw OFFSETV ;16位偏移 dw SELECTOR ;段值或者选择子 ENDM ;字符显示宏指令的定义 ECHOCH MACRO ASCII mov ah,2 ;调用21号中断的2号例程 mov dl,ASCII ;要显示的字符地址存入dl寄存器 int 21h ENDM ;存储段描述符结构的定义 DESCRIPTOR STRUC LIMITL dw 0 ;段界限(0~1...
MASM_Practice/34_Basic_Elements.asm
TuringGu/RELearning
0
129705
.586 .MODEL flat,stdcall option casemap:none include windows.inc include user32.inc include kernel32.inc include msvcrt.inc includelib user32.lib includelib kernel32.lib includelib msvcrt.lib .data text01 db "Input 2 numbers: " number01 db 0 number02 db 0 format db "%d%d",0 format02 db "%d",0 .code main PROC ;Cal...
oeis/060/A060594.asm
neoneye/loda-programs
11
129706
<reponame>neoneye/loda-programs<filename>oeis/060/A060594.asm ; A060594: Number of solutions to x^2 == 1 (mod n), that is, square roots of unity modulo n. ; Submitted by <NAME> ; 1,1,2,2,2,2,2,4,2,2,2,4,2,2,4,4,2,2,2,4,4,2,2,8,2,2,2,4,2,4,2,4,4,2,4,4,2,2,4,8,2,4,2,4,4,2,2,8,2,2,4,4,2,2,4,8,4,2,2,8,2,2,4,4,4,4,2,4,4,4,2...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_550.asm
ljhsiun2/medusa
9
129708
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %r8 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x11710, %r8 cmp $55298, %r12 mov (%r8), %r9d nop nop nop and $269, %r14 lea addresses_UC_ht+0xdca8, %rdi clflush (%rdi) nop nop and %r11, %r11 movb (%rdi), %r9b n...
libsrc/zx81/scrolldowntxt.asm
meesokim/z88dk
0
129709
; ; ZX81 libraries - Stefano ; ;---------------------------------------------------------------- ; ; $Id: scrolldowntxt.asm,v 1.4 2015/01/19 01:33:26 pauloscustodio Exp $ ; ;---------------------------------------------------------------- ; Text scrolldown. ;-------------------------------------------------------------...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1515.asm
ljhsiun2/medusa
9
129710
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r15 push %r8 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0xcc80, %r15 clflush (%r15) nop nop nop nop and %rdx, %rdx mov $0x6162636465666768, %r13 movq %r13, %xmm3 movups %xmm3, (%r15) and %rbx, %rbx lea addresses_WC_ht+0x4d...
pgm/gas/07_function/pgm.asm
vinaib/x86_asm
0
129711
.data HelloWorld: .asciz "Hello World!\n" HelloFunction: .asciz "Hello Function!\n" .text .globl _start .type MyFunction, @function MyFunction: # String pointer and len to be added by caller movl $4, %eax movl $1, %ebx int $0x80 ret _start : nop # Print the Hello World String ...
libsrc/_DEVELOPMENT/math/float/am9511/lam32/c/sccz80/fmax_callee.asm
ahjelm/z88dk
640
129712
<reponame>ahjelm/z88dk SECTION code_fp_am9511 PUBLIC fmax_callee EXTERN cam32_sccz80_fmax_callee defc fmax_callee = cam32_sccz80_fmax_callee IF __CLASSIC ; SDCC bridge for Classic PUBLIC _fmax_callee EXTERN cam32_sdcc_fmax_callee defc _fmax_callee = cam32_sdcc_fmax_callee EN...
programs/oeis/096/A096270.asm
neoneye/loda
22
129713
<reponame>neoneye/loda ; A096270: Fixed point of the morphism 0->01, 1->011. ; 0,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0 add $0,1 seq $0,189661 ; Fixed point of ...
data/mapHeaders/BrunosRoom.asm
AmateurPanda92/pokemon-rby-dx
9
129715
<filename>data/mapHeaders/BrunosRoom.asm BrunosRoom_h: db GYM ; tileset db BRUNOS_ROOM_HEIGHT, BRUNOS_ROOM_WIDTH ; dimensions (y, x) dw BrunosRoom_Blocks ; blocks dw BrunosRoom_TextPointers ; texts dw BrunosRoom_Script ; scripts db 0 ; connections dw BrunosRoom_Object ; objects
Build/Test Kernel/kernel.asm
saluransains/Cosmos
2,577
129716
<reponame>saluransains/Cosmos org 0x1000000 use32 [map symbols] begin: _begin: jmp entry align 4 multiboot_header: MULTIBOOT_HEADER_MAGIC dd 0x1BADB002 MULTIBOOT_HEADER_FLAGS dd 0x00010003 Checksum dd -(0x1BADB002 + 0x00010003) header_addr dd multiboot_header load_addr dd _begin load_end dd _end bss_end dd _end en...
oeis/024/A024643.asm
neoneye/loda-programs
11
129717
; A024643: n written in fractional base 7/6. ; Submitted by <NAME> ; 0,1,2,3,4,5,6,60,61,62,63,64,65,66,650,651,652,653,654,655,656,6540,6541,6542,6543,6544,6545,6546,65430,65431,65432,65433,65434,65435,65436,654320,654321,654322,654323,654324,654325,654326,6543210,6543211,6543212,6543213,6543214,6543215,6543216,654321...
change_me/Main.asm
divinaland/init
0
129718
<reponame>divinaland/init<filename>change_me/Main.asm global main extern printf section .rodata message: db "Hello, World!", 13, 10, 0 section .text main: sub rsp, 8 sub rsp, 32 mov rcx, qword message call printf add rsp, 32 xor eax, eax add rsp, 8 ret
tests/testdata/tbuilder-in-25-bad.asm
roycrippen/sicxe
0
129719
. code intersections are: . -> 2020 - 2021 . -> 2040 - 2041 . -> 2060 - 2061 . -> 2070 - 2090 test START 2000 RESB 10 ORG 2020 RESB 21 USE BYTE 0 USE test RESB 10 ORG 2040 RESB 21 ...
wof/lcs/enemy/CE.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
6
129721
<gh_stars>1-10 copyright zengfr site:http://github.com/zengfr/romhack 001590 lea ($20,A0), A0 00410A rts [enemy+CE] 004786 rts [enemy+CE] 0047F8 clr.b ($ce,A0) [enemy+3A] 0047FC rts [enemy+CE] 00485E beq $48aa [enemy+CE] 0048A6 rts [enemy+CE] 011C3A st ($ce,A0) [enemy+3E] 011C3E cmpi.b #$6, ($...
oeis/078/A078046.asm
neoneye/loda-programs
11
129723
<filename>oeis/078/A078046.asm ; A078046: Expansion of (1-x)/(1 + x + x^2 - x^3). ; 1,-2,1,2,-5,4,3,-12,13,2,-27,38,-9,-56,103,-56,-103,262,-215,-150,627,-692,-85,1404,-2011,522,2893,-5426,3055,5264,-13745,11536,7473,-32754,36817,3410,-72981,106388,-29997,-149372,285757,-166382,-268747,720886,-618521,-371112,1710519,-1...
oeis/078/A078058.asm
neoneye/loda-programs
11
129724
<filename>oeis/078/A078058.asm ; A078058: Expansion of (1-x)/(1+2*x-x^2+x^3). ; Submitted by <NAME> ; 1,-3,7,-18,46,-117,298,-759,1933,-4923,12538,-31932,81325,-207120,527497,-1343439,3421495,-8713926,22192786,-56520993,143948698,-366611175,933692041,-2377943955,6056191126,-15424018248,39282171577,-100044552528,2547952...
oeis/064/A064167.asm
neoneye/loda-programs
11
129725
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A064167: Product of numerator and denominator of the n-th harmonic number, 1 + 1/2 + 1/3 +...+ 1/n. ; Submitted by <NAME>(w4) ; 1,6,66,300,8220,980,50820,213080,17965080,18600120,2320468920,2384502120,412970037480,422245703880,430902992520,1756076802480,516336630329520,...
drlvm/vm/port/src/atomic/win/port_atomic_em64t.asm
sirinath/Harmony
8
129726
; Licensed to the Apache Software Foundation (ASF) under one or more ; contributor license agreements. See the NOTICE file distributed with ; this work for additional information regarding copyright ownership. ; The ASF licenses this file to You under the Apache License, Version 2.0 ; (the "License"); you may not...
libsrc/target/zx/display/zx_saddr2aaddr.asm
jpoikela/z88dk
38
129727
; uchar __FASTCALL__ *zx_saddr2aaddr(void *pixeladdr) ; aralbrec 06.2007 SECTION code_clib PUBLIC zx_saddr2aaddr PUBLIC _zx_saddr2aaddr .zx_saddr2aaddr ._zx_saddr2aaddr ld a,h rra rra rra and $03 or $58 ld h,a ret
libsrc/input/m5/in_LookupKey.asm
jpoikela/z88dk
640
129729
; uint in_LookupKey(uchar c) SECTION code_clib PUBLIC in_LookupKey PUBLIC _in_LookupKey EXTERN in_keytranstbl ; Given the ascii code of a character, returns the scan row and mask ; corresponding to the key that needs to be pressed to generate the ; character. ; ; The scan row returned will have bit 7 set and bit 6 ...
libsrc/stdio/conio/cvpeek.asm
Toysoft/z88dk
0
129730
<gh_stars>0 ; ; Peek at the console and get the character at the location ; SECTION code_clib PUBLIC cvpeek PUBLIC _cvpeek EXTERN __console_w EXTERN __console_h EXTERN generic_console_vpeek ; int cvpeek(int x, int y) __smallc; ; ; -1 = Unknown character cvpeek: _cvpeek: pop hl pop bc ;y pop de ;x pu...
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_901.asm
ljhsiun2/medusa
9
129731
<reponame>ljhsiun2/medusa<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %r8 push %rbp push %rcx push %rdi push %rsi lea addresses_A_ht+0x12d92, %r8 nop nop nop cmp $45018, %r11 mov $0x6162636465666768, %rbp movq %rbp, %xmm0 movups %xmm0, (%r8) nop nop nop nop nop xor $511...
s2/sfx-original/DA - Gloop.asm
Cancer52/flamedriver
9
129732
Sound5A_Gloop_Header: smpsHeaderStartSong 2, 1 smpsHeaderVoice Sound5A_Gloop_Voices smpsHeaderTempoSFX $01 smpsHeaderChanSFX $01 smpsHeaderSFXChannel cFM5, Sound5A_Gloop_FM5, $00, $00 ; FM5 Data Sound5A_Gloop_FM5: smpsSetvoice $00 smpsModSet $01, $01, $7F, $F1 dc.b nF3, $0A smpsStop S...
Programs/Program1.asm
trivedi-vatsal/8085-programs
2
129733
;Store the data byte 52h into memory location 2000H MVI A, 52H ;Store 52H in the accumulator STA 2000H ;Copy accumulator contents at address 2000h HLT ;Terminate program execution
Assembly/AdventureGame/generate-random-number.asm
Ryo112358/fort-oily-mop
0
129734
######### Generate a Random Integer ########## # Print a newline ----------------------------- .macro print_newline() li $v0, 4 la $a0, newline_grm syscall .end_macro # Store current time to be used as seed ------- .macro get_time() li $v0, 30 syscall move $t0, $a0 .end_macro # Generate random seed ---------...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_847.asm
ljhsiun2/medusa
9
129735
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r13 push %r14 push %rbp push %rbx push %rdi push %rdx push %rsi // Store mov $0xd0d, %r13 nop nop inc %rbp mov $0x5152535455565758, %rdi movq %rdi, %xmm5 vmovups %ymm5, (%r13) nop and $22720, %r14 // Faulty...
pin-3.22-98547-g7a303a835-gcc-linux/source/tools/Probes/func_nops_asm.asm
ArthasZhang007/15418FinalProject
0
129736
<reponame>ArthasZhang007/15418FinalProject<filename>pin-3.22-98547-g7a303a835-gcc-linux/source/tools/Probes/func_nops_asm.asm<gh_stars>0 ; ; Copyright (C) 2016-2016 Intel Corporation. ; SPDX-License-Identifier: MIT ; include asm_macros.inc PROLOGUE PUBLIC foo .code foo PROC EXPORT nop nop nop nop ...
ftm/bah.asm
zeta0134/bhop
4
129737
<filename>ftm/bah.asm<gh_stars>1-10 ; Dn-FamiTracker exported music data: nsmb-2a03.0cc ; ; Module header .word ft_song_list .word ft_instrument_list .word ft_sample_list .word ft_samples .word ft_groove_list .byte 0 ; flags .word 3600 ; NTSC speed .word 3000 ; PAL speed ; Instrument pointer list ft_instrumen...
oeis/054/A054326.asm
neoneye/loda-programs
11
129738
; A054326: Eighth unsigned column of Lanczos triangle A053125 (decreasing powers). ; 8,480,12672,219648,2928640,32587776,317521920,2794192896,22682271744,172438323200,1241555927040,8538764083200,56469693136896,361019918516224,2240813287342080,13550896696786944,80073480481013760,463484145843044352,2633369381186306048,14...
oeis/041/A041126.asm
neoneye/loda-programs
11
129739
<reponame>neoneye/loda-programs ; A041126: Numerators of continued fraction convergents to sqrt(72). ; Submitted by <NAME> ; 8,17,280,577,9512,19601,323128,665857,10976840,22619537,372889432,768398401,12667263848,26102926097,430314081400,886731088897,14618011503752,30122754096401,496582077046168,1023286908188737,168691...
main.asm
zoltanvi/insertion-sort
0
129740
<reponame>zoltanvi/insertion-sort INCLUDE Irvine32.inc ; __INSERTION SORTING__ ; The program is accepting integer numbers (except 0!) ; from the user, separated with ENTERs. ; It executes the sorting when gets 0 (zero) as an input. ; Example: ; ####input: ; > 2 ;...
Transynther/x86/_processed/US/_st_4k_/i7-7700_9_0xca_notsx.log_21829_1406.asm
ljhsiun2/medusa
9
129741
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %r8 push %r9 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x6a29, %r8 nop nop nop nop sub $6030, %r9 movb $0x61, (%r8) nop and $28096, %rbx lea addresses_normal_ht+0x1404a, %r15 nop nop nop nop xor %r12, %r12 vmovups (%r15), ...
boot/checks.asm
theaarushgupta/smolOS
1
129742
global checkMultiboot, checkCPUid, checkLongMode extern error section .text bits 32 checkMultiboot: cmp eax, 0x36d76289 ; all compliant bootloaders store this value in the EAX register jne .noMultiboot ret .noMultiboot: mov al, "M" jmp error checkCPUid: ; if we can flip the bit in flags register for CPU id...
PRG/prg015.asm
narfman0/smb3_pp1
0
129743
; Super Mario Bros. 3 Full Disassembly by Southbird 2012 ; For more info, see http://www.sonicepoch.com/sm3mix/ ; ; PLEASE INCLUDE A CREDIT TO THE SOUTHBIRD DISASSEMBLY ; AND THE ABOVE LINK SOMEWHERE IN YOUR WORKS :) ; ; Original disassembler source generated by DCC6502 version v1.4 ; (With labels, comments, and some s...
ls.asm
rooneyshuman/XV6-OS
0
129744
<reponame>rooneyshuman/XV6-OS _ls: file format elf32-i386 Disassembly of section .text: 00000000 <fmtname>: #include "user.h" #include "fs.h" char* fmtname(char *path) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 53 push %ebx 4: 83 ec 14 ...
linker-kernel/mbr.asm
yuchanns/x86-asm
1
129745
; 先以实模式加载本段程序, 然后再通过保护模式加载本段程序 ; 保护模式需要定义 gdt, 描述代码段、数据段和栈段(特殊数据段) section .mbr global _start extern _kernel_start_addr extern _kernel_end_addr extern _kernel_start extern code_desc_sel extern data_desc_sel extern vga_desc_sel extern stack_desc_sel [bits 16] _start: mov ax, cs mov ss, ax ; 栈指针设置在本段程序被加载的位置,...
ch3/masmhello.asm
cymonpereira/Mastering-Reverse-Engineering
2
129746
.486 .model flat, stdcall option casemap :none ; case sensitive include \masm32\include\masm32.inc include \masm32\include\kernel32.inc include \masm32\macros\macros.asm includelib \masm32\lib\masm32.lib includelib \masm32\lib\kernel32.lib includelib \masm32\lib\msvcrt.lib .code start: print "Hello World...
programs/oeis/062/A062175.asm
neoneye/loda
22
129747
; A062175: a(n) = 4^(n-1) mod n. ; 0,0,1,0,1,4,1,0,7,4,1,4,1,4,1,0,1,16,1,4,16,4,1,16,6,4,7,8,1,4,1,0,16,4,11,16,1,4,16,24,1,16,1,20,16,4,1,16,29,44,16,12,1,34,36,32,16,4,1,4,1,4,16,0,61,34,1,64,16,64,1,16,1,4,31,64,4,10,1,64,61,4,1,16,1,4,16,16,1,34,1,64,16,4,66,64,1,32,97,44 add $0,1 mov $1,1 mov $2,$0 lpb $0 sub ...
programs/oeis/038/A038505.asm
jmorken/loda
1
129748
<reponame>jmorken/loda ; A038505: Sum of every 4th entry of row n in Pascal's triangle, starting at binomial(n,2). ; 0,0,1,3,6,10,16,28,56,120,256,528,1056,2080,4096,8128,16256,32640,65536,131328,262656,524800,1048576,2096128,4192256,8386560,16777216,33558528,67117056,134225920,268435456,536854528,1073709056,2147450880...
programs/oeis/027/A027978.asm
neoneye/loda
22
129751
; A027978: a(n) = self-convolution of row n of array T given by A027960. ; 1,11,42,145,473,1484,4529,13543,39870,115937,333781,953056,2702497,7618115,21365778,59657329,165926609,459905588,1270819025,3501855007,9625627686,26398369601,72248624077,197361589960,538199264833,1465311474299,3983597848314,10814994871633,293240...
Wkst9/Wkst9_2.asm
wstern1234/COMSC-260
0
129752
; Wkst9_2.asm - pseudocode to assembly language practice INCLUDE Irvine32.inc .data val1 DWORD 3 X DWORD 4 .code main PROC .if (val1 > ecx) && (ecx > edx) mov X, 1 .else mov X, 2 .endif mov eax, X INVOKE ExitProcess, 0 main ENDP END main
Appl/SDK_Asm/FSelSamp/fselsamp.asm
steakknife/pcgeos
504
129753
COMMENT @---------------------------------------------------------------------- Copyright (c) GeoWorks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: FSelSamp (File Selector Sample application) FILE: fselsamp.asm REVISION HISTORY: Name Date Description ---- ---- ----------- brianc 3/91 Init...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1676.asm
ljhsiun2/medusa
9
129754
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r8 push %rax push %rbp push %rdx lea addresses_WT_ht+0x877, %rdx add $43249, %rbp movb (%rdx), %al and %r12, %r12 lea addresses_WC_ht+0xc557, %rdx nop nop nop and $60690, %r8 mov (%rdx), %r13w dec %r12 pop %rdx pop %rbp pop %rax pop %r8 pop %r13 pop...
programs/oeis/315/A315631.asm
karttu/loda
1
129755
<filename>programs/oeis/315/A315631.asm ; A315631: Coordination sequence Gal.5.68.5 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; 1,6,12,16,20,24,28,32,38,44,50,56,60,64,68,72,76,82,88,94,100,104,108,112,116,120,126,132,138,144,148...
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0xca_notsx.log_2_1206.asm
ljhsiun2/medusa
9
129757
<filename>Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0xca_notsx.log_2_1206.asm .global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x76a3, %rsi lea addresses_WT_ht+0x16b93, %rdi nop nop cmp $13110, %r8 mov $102, %rcx rep m...
oeis/140/A140541.asm
neoneye/loda-programs
11
129758
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A140541: Primes of the form 17*k - 1. ; Submitted by <NAME> ; 67,101,271,373,509,577,883,1019,1087,1223,1291,1427,1597,1699,1733,1801,2039,2141,2243,2311,2447,2549,2617,2719,2753,2957,3229,3331,3433,3467,3637,3671,3739,3943,4079,4283,4657,4691,4759,4793,4861,5099,5167,5...
Test/8080/test_macros.asm
sparks-c16/zasm
43
129759
#!/usr/local/bin/zasm --asm8080 -o original/ .org 0 .macro MACRO1 .dm "Test1",0 .endm MACRO2 .macro .dm "Test2",0 .endm MACRO3 .macro .dm "Test3",0 .endm Macro4 .macro .dm "Test4",0 .endm Macro5 Macro dm "Test5",0 endm .macro test6 .dm "Test6",0 .endm macro Test7 dm "Test7",0 endm .align 16 MACRO1...
src/VMTranslator/fixtures/FunctionCalls/SimpleFunction/SimpleFunction.asm
tuzmusic/HackManager
1
129760
(SimpleFunction.test) // COMMAND #1: function SimpleFunction.test 2 @SP D=M // store SP value @LCL M=D // store stack address in LCL @SP // >>> push "0" to top of stack A=M // move to top of stack M=0 @SP // increment stack pointer M=M+1 ...
chap18/ex11/expand_scalar.asm
JamesType/optimization-manual
374
129761
; ; Copyright (C) 2021 by Intel Corporation ; ; Permission to use, copy, modify, and/or distribute this software for any ; purpose with or without fee is hereby granted. ; ; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH ; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHA...
Input.asm
DerPferd/PongMIPS
1
129762
<gh_stars>1-10 # Input.asm # This file implements the Input functions. .globl Input .data inputFlag: .word 4294901760 inputAddr: .word 4294901764 bufferSize: .word 16384 .text # Constructor for the Input class # # Args: # None # # Return: # $v0 The address of the new instance # # Usage: # jal In...
wc.asm
chen-cohen/xv6_2
0
129763
_wc: file format elf32-i386 Disassembly of section .text: 00000000 <wc>: char buf[512]; void wc(int fd, char *name) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 ec 48 sub $0x48,%esp int i, n; int l, w, c, inword; l = w = c = 0; 6: c7...
Lab02_Assembly/Lecture02_ArrayAdd.asm
brandonkim-1301/TI-RSLK-Maze-Follower
0
129764
; Array_Add.asm ; by <NAME> ; let array Y equal array X plus 3 ; Aug 20 2020 .thumb .data .align 2 Y_array .space 32 ; create 32 bytes in RAM to hold the output Y array .text .align 2 X_array .byte 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08, 0x09, 0x0A ; initialize X_array to 1...
external/source/shellcode/bsdi/ia32/stager_sock_find.asm
madhavarao-yejarla/VoIP
35
129765
<filename>external/source/shellcode/bsdi/ia32/stager_sock_find.asm ;; ; ; Name: stager_sock_find ; Qualities: Can Have Null ; Platforms: BSDi ; Authors: skape <mmiller [at] hick.org> ; optyx <optyx [at] uberhax0r.net> ; Version: $Revision: 1633 $ ; License: ; ; Thi...
C5515_Support_Files/C5515_Lib/dsplib_2.40.00/55x_src/fir.asm
HeroSizy/Sizy
0
129766
;*********************************************************** ; Version 2.40.00 ;*********************************************************** ; Function: fir ; Processor: C55xx ; Description: Implements finite impulse response filter using ; single-MAC ap...
src/main/fragment/mos6502-common/vdum1_eq_vduc1_then_la1.asm
jbrandwood/kickc
2
129767
lda {m1}+3 cmp #>{c1}>>$10 bne !+ lda {m1}+2 cmp #<{c1}>>$10 bne !+ lda {m1}+1 cmp #>{c1} bne !+ lda {m1} cmp #<{c1} beq {la1} !:
oeis/048/A048727.asm
neoneye/loda-programs
11
129768
<filename>oeis/048/A048727.asm<gh_stars>10-100 ; A048727: a(n) = Xmult(n,7) or rule150(n,1). ; Submitted by <NAME> ; 0,7,14,9,28,27,18,21,56,63,54,49,36,35,42,45,112,119,126,121,108,107,98,101,72,79,70,65,84,83,90,93,224,231,238,233,252,251,242,245,216,223,214,209,196,195,202,205,144 mov $2,$0 mul $2,2 seq $2,48724 ; ...
tests/exec/jmp_far/jmp_far.asm
ykskb/dax86
12
129769
<gh_stars>10-100 BITS 16 org 0x7c00 load_gdt: lgdt [GDT_DESC] ; 0F 01 15 (14 7C 00 00): 15=21: 000 10(op) 101(r/m) ; xgetbv ; 0F 01 D0: D0(so): 110 10(op) 000(r/m) ; xsetbv ; 0F 01 D1: D1(so): 110 10(op) 001(r/m) ; monitor ; 0F 01 C8: C8(so): 110 01(op) 000(r/m) ; mwait ; 0F 01 C9: C9=201: 110 ...
dev/emm386/xms.asm
minblock/msdos
0
129770
.386p page 58,132 ;============================================================================= title X M S - XMS routines/support ;============================================================================= ;== ;== (C) Copyright MICROSOFT Corp. 1990-1991 ;== (C) Copyright COMPAQ Computer Corp. 1990-1991 ;== ;== T...
smsq/home/init.asm
olifink/smsqe
0
129771
; HOME thing initialization for SMSQ/E V1.02 (c) 2005 <NAME> ; 2005-10-23 1.00 initial version ; 2005-11-01 1.01 intermediary version ; 2005-11-01 1.02 made into module header section init xref home_thing xref gu_thjmp ; set up thing xref gu_achpp ; get mem xref.l hom_vers ; my version xref hom_procs ...
chapter_1/page_35/exercise_4/memcpy.asm
assaflevy/practical_reverse_engineering
0
129772
<gh_stars>0 global _main extern _printf section .data data: db 0xa8, 0x1a, 0x4a, 0xf3, 0x15, 0xf6, 0x08, 0x67, 0x43, 0x5a format: db 'my_memcmp() returns: %d', 0 section .text my_memcpy: mov edi, [esp + 4] mov esi, [esp + 8h] mov ecx, [esp + 0Ch] rep movsb mov eax, [esp + 4] ret my_memcmp: mov edi, [esp + 4...
data/mapHeaders/PalletTown.asm
AmateurPanda92/pokemon-rby-dx
9
129773
<filename>data/mapHeaders/PalletTown.asm PalletTown_h: db OVERWORLD ; tileset db PALLET_TOWN_HEIGHT, PALLET_TOWN_WIDTH ; dimensions (y, x) dw PalletTown_Blocks ; blocks dw PalletTown_TextPointers ; texts dw PalletTown_Script ; scripts db NORTH | SOUTH ; connections NORTH_MAP_CONNECTION PALLET_TOWN, ROUTE_1, 0, 0...
Expr4/code/inst_mem.asm
Asudy/CompArch_Expr
0
129774
and $at $zero $zero ori $a0 $at 80 jal 10 addi $a1 $zero 4 sw $v0 0($a0) lw $t1 0($a0) sw $t1 4($a0) sub $t0 $t1 $a0 j 8 sll $zero $zero 0 add $t0 $zero $zero lw $t1 0($a0) add $t0 $t0 $t1 addi $a1 $a1 -1 slt $v1 $zero $a1 bne $v1 $zero -5 addi $a0 $a0 4 jr $ra or $v0 $t0 $zero sll $zero $zero 0 sll $zero $zero 0 sll $...
programs/oeis/169/A169967.asm
karttu/loda
0
129775
<reponame>karttu/loda ; A169967: Numbers whose decimal expansion contains only 0's and 4's. ; 0,4,40,44,400,404,440,444,4000,4004,4040,4044,4400,4404,4440,4444,40000,40004,40040,40044,40400,40404,40440,40444,44000,44004,44040,44044,44400,44404,44440,44444,400000,400004,400040,400044,400400,400404,400440,400444,404000,4...
BCDtoHEX.asm
yayatichandel/BCD-to-HEX-converter-in-Edsim-51
0
129776
MOV A,30H MOV R5,A ANL A,#0F0H SWAP A MOV R1,A MOV A,R5 ANL A,#0FH MOV R2,A MOV A,R1 MOV B,#0AH MUL AB ADD A,R2 MOV 31H,A JMP $
16.asm
AsadKhalil/Assembly_x86
0
129777
<reponame>AsadKhalil/Assembly_x86 [org 0x0100] jmp start oldkb: dd 0 ; subroutine to print a number at the specificed location of the screen ; order of parameters: location, number printnum: push bp mov bp, sp push es push ax push bx push cx push dx push di mov ax, 0xb800 mov es, ax ; po...
Transynther/x86/_processed/NONE/_ht_/i9-9900K_12_0xca.log_21829_1517.asm
ljhsiun2/medusa
9
129778
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r8 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_WC_ht+0x62d7, %r13 cmp %rax, %rax movb $0x61, (%r13) nop xor $35126, %r10 lea addresses_D_ht+0x198d7, %rsi lea addresses_normal_ht+0xa0d7, %rdi xor $30396, %r9 mov $78,...
PRG/levels/Desert/2-1.asm
narfman0/smb3_pp1
0
129781
<filename>PRG/levels/Desert/2-1.asm ; Original address was $B45F ; 2-1 .word W201_BonusL ; Alternate level layout .word Empty_ObjLayout ; Alternate object layout .byte LEVEL1_SIZE_12 | LEVEL1_YSTART_180 .byte LEVEL2_BGPAL_00 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18 .byte LEVEL3_TILESET_09 | LEVEL3_VSCROLL_LOCKLOW | L...
thcrap_tasofro/src/bp_bmpfont.asm
laenNoCode/thcrap
359
129783
/** * Touhou Community Reliant Automatic Patcher * Main DLL * * ---- * * Breakpoint entry point. Written for i686-w64-mingw32-as. */ .intel_syntax .global _BP_bmpfont_fix_parameters _BP_bmpfont_fix_parameters: push dword [%esp+4] push dword [%esp+4] sub %esp, 0x0c movss dword [%esp+4], %xmm2 mov...
shellcodes/64hello.asm
therealdreg/drx_ptrace_shellcode_injector
5
129784
<gh_stars>1-10 ; MIT License - Copyright 2020 ; <NAME> aka Dreg - <EMAIL> ; - ; http://github.com/David-Reguera-Garcia-Dreg/ - http://www.fr33project.org/ ; Permission is hereby granted, free of charge, to any person obtaining a copy ; of this software and associated documentation files (the "Software"), to deal ; in t...