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 |
|---|---|---|---|---|
kernel/temp/process.asm | paulscottrobson/flat | 0 | 56071 | ; ***************************************************************************************
; ***************************************************************************************
;
; Name : process.src
; Author : <NAME> (<EMAIL>)
; Date : 19th March 2019.
; Purpose : Process a word
;
; ************************... |
programs/oeis/007/A007899.asm | karttu/loda | 0 | 56072 | ; A007899: Coordination sequence for hexagonal close-packing.
; 1,12,44,96,170,264,380,516,674,852,1052,1272,1514,1776,2060,2364,2690,3036,3404,3792,4202,4632,5084,5556,6050,6564,7100,7656,8234,8832,9452,10092,10754,11436,12140,12864,13610,14376,15164,15972,16802,17652,18524,19416,20330,21264,22220,23196,24194,25212,26... |
src/kernel/int/idt.asm | Cc618/Os2020 | 3 | 56073 | <gh_stars>1-10
; The interrupt descriptor table
extern onSyscall
global irq0
global irq1
global irq2
global irq3
global irq4
global irq5
global irq6
global irq7
global irq8
global irq9
global irq10
global irq11
global irq12
global irq13
global irq14
global irq15
global irq128
extern irq0Handler
extern irq1Handler
ex... |
data/pokemon/dex_entries/guardia.asm | AtmaBuster/pokeplat-gen2 | 6 | 56074 | <reponame>AtmaBuster/pokeplat-gen2
db "PROTECTOR@" ; species name
db "It protects its"
next "child with its"
next "life. The bone of"
page "its skull is five"
next "times harder than"
next "staineless steel.@"
|
sw/552tests/inst_tests/jal_3.asm | JPShen-UWM/ThreadKraken | 1 | 56075 | // Original test: ./chen-han/hw4/problem6/jal_0.asm
// Author: chen-han
// Test source code follows
//test if the jump and link instruction will have correct value in r7 and pc
jal .Label1
lbi r6, -1 //never go here
.Label1:
lbi r6, 1
halt
// you should have r6 =1
// r7 = where the instruction lbi r6, -1
|
labs/lab1/os/src/interrupt/interrupt.asm | yunwei37/os-summer-of-code-daily | 51 | 56076 | <reponame>yunwei37/os-summer-of-code-daily
# 宏:将寄存器存到栈上
.macro SAVE reg, offset
sd \reg, \offset*8(sp)
.endm
# 宏:将寄存器从栈中取出
.macro LOAD reg, offset
ld \reg, \offset*8(sp)
.endm
.section .text
.globl __interrupt
# 进入中断
# 保存 Context 并且进入 rust 中的中断处理函数 interrupt::handler::handle_interrupt()
__interrupt:... |
y2s2/csa/practicals/prac-6/18-challenge-2.asm | ouldevloper/university | 8 | 56077 | <reponame>ouldevloper/university<gh_stars>1-10
; 18-challenge-2.asm
; display n-index number, n from 0-6,
; user input
.MODEL SMALL
.STACK 100
.DATA
NUM DB 4,7,2,9,6,5,8
TXT DB 'Enter index (0-6):'
NL DB 13, 10, '$'
INDEX DW ?
.CODE
MAIN PROC
MOV AX,@DATA
MOV DS,AX
MOV AH, 9
LEA DX,... |
programs/oeis/319/A319280.asm | karttu/loda | 1 | 56078 | <filename>programs/oeis/319/A319280.asm
; A319280: Numbers that are congruent to {0, 4, 7, 11} mod 12.
; 0,4,7,11,12,16,19,23,24,28,31,35,36,40,43,47,48,52,55,59,60,64,67,71,72,76,79,83,84,88,91,95,96,100,103,107,108,112,115,119,120,124,127,131,132,136,139,143,144,148,151,155,156,160,163,167,168,172,175,179,180,184,187... |
sdk-6.5.16/tools/led/example/guenevere5670.asm | copslock/broadcom_cpri | 0 | 56080 | <gh_stars>0
;
;
;
; This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
;
; Copyright 2007-2019 Broadcom Inc. All rights reserved.
;
;
; This is the default 5670 program for the Guenevere (BCM95695P24SX).
;
; To start it, use the followin... |
oeis/108/A108911.asm | neoneye/loda-programs | 11 | 56081 | ; A108911: Difference between n and the sum of the factorials of its digits.
; 0,0,-3,-20,-115,-714,-5033,-40312,-362871,8,9,9,6,-11,-106,-705,-5024,-40303,-362862,17,18,18,15,-2,-97,-696,-5015,-40294,-362853,23,24,24,21,4,-91,-690,-5009,-40288,-362847,15,16,16,13,-4,-99,-698,-5017,-40296,-362855,-71,-70,-70,-73,-90,-1... |
programs/oeis/005/A005904.asm | karttu/loda | 1 | 56083 | ; A005904: Centered dodecahedral numbers.
; 1,33,155,427,909,1661,2743,4215,6137,8569,11571,15203,19525,24597,30479,37231,44913,53585,63307,74139,86141,99373,113895,129767,147049,165801,186083,207955,231477,256709,283711,312543,343265,375937,410619,447371
mov $1,$0
pow $1,3
mul $1,10
add $1,1
mov $2,$0
mul $2,7
add $1... |
ioq3/build/release-js-js/missionpack/game/g_utils.asm | RawTechnique/quake-port | 1 | 56084 | <filename>ioq3/build/release-js-js/missionpack/game/g_utils.asm<gh_stars>1-10
data
export remapCount
align 4
LABELV remapCount
byte 4 0
export AddRemap
code
proc AddRemap 8 8
ADDRFP4 0
ADDRFP4 0
INDIRP4
ASGNP4
ADDRFP4 4
ADDRFP4 4
INDIRP4
ASGNP4
ADDRFP4 8
ADDRFP4 8
INDIRF4
ASGNF4
ADDRLP4 0
CNSTI4 0
ASGNI4
ADDRGP4 $58
JU... |
_build/dispatcher/jmp_ippsTDESDecryptCFB_2d6383b6.asm | zyktrcn/ippcp | 1 | 56085 | <gh_stars>1-10
extern m7_ippsTDESDecryptCFB:function
extern n8_ippsTDESDecryptCFB:function
extern y8_ippsTDESDecryptCFB:function
extern e9_ippsTDESDecryptCFB:function
extern l9_ippsTDESDecryptCFB:function
extern n0_ippsTDESDecryptCFB:function
extern k0_ippsTDESDecryptCFB:function
extern ippcpJumpIndexForMergedLibs
exte... |
tests/data-hazard-2.asm | skyzh/RISCV-Simulator | 106 | 56086 | <filename>tests/data-hazard-2.asm
.globl main
.text
main:
addi a1, a1, 15
nop
addi a2, a2, 16
add a0, a1, a2
li a2,255
lui a3,0x30
sb a2,4(a3)
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
|
sys/arch/x86/boot/print.asm | NeoBSD/tunix | 0 | 56087 | ; Copyright (c) 2021, <NAME>
; All rights reserved.
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
; * Redistributions of source code must retain the above copyright notice,
; this list of conditions and the follow... |
u7-common/patch-eop-displayVersion.asm | ptrie/UltimaHacks | 1 | 56090 | <reponame>ptrie/UltimaHacks<gh_stars>1-10
; Display game version information in a scroll popup, also including text about
; these UltimaHacks.
[bits 16]
startPatch EXE_LENGTH, eop-displayVersion
startBlockAt addr_eop_displayVersion
push bp
mov bp, sp
; bp-based stack frame:
%assign ____callerIp ... |
Feb.asm | danielkrupinski/Feb | 4 | 56091 | format PE GUI 6.0
entry start
include 'INCLUDE/win32ax.inc'
struct PROCESSENTRY32
dwSize dd ?
cntUsage dd ?
th32ProcessID dd ?
th32DefaultHeapID dd ?
th32ModuleID dd ?
cntThreads dd ?
th32ParentPro... |
CODE/ELECTRONIC_SCALE/Initialize.asm | ZSAIm/-_STM8S- | 1 | 56092 | stm8/
#include "stm8s105k4.inc"
#include "LCD.inc"
#include "Common.inc"
#include "ADC.inc"
#include "Key.inc"
;#include "Timer.inc"
EXTERN Beeper_Init.W
INTEL
segment 'rom'
;***********************************************************
;name : Main_Init()
;fun : initializat... |
oeis/014/A014825.asm | neoneye/loda-programs | 11 | 56093 | ; A014825: a(n) = 4*a(n-1) + n with n > 1, a(1)=1.
; 1,6,27,112,453,1818,7279,29124,116505,466030,1864131,7456536,29826157,119304642,477218583,1908874348,7635497409,30541989654,122167958635,488671834560,1954687338261,7818749353066,31274997412287,125099989649172,500399958596713,2001599834386878,8006399337547539,32025597... |
programs/oeis/024/A024699.asm | jmorken/loda | 1 | 56094 | ; A024699: a(n) = (prime(n+2)-1)/6 if this is an integer or (prime(n+2)+ 1)/6 otherwise.
; 1,1,2,2,3,3,4,5,5,6,7,7,8,9,10,10,11,12,12,13,14,15,16,17,17,18,18,19,21,22,23,23,25,25,26,27,28,29,30,30,32,32,33,33,35,37,38,38,39,40,40,42,43,44,45,45,46,47,47,49,51,52,52,53,55,56,58,58,59,60,61,62,63,64,65,66,67,68,70
mov $... |
libsrc/stdio_new/fd/close.asm | andydansby/z88dk-mk2 | 1 | 56095 | <gh_stars>1-10
; int __FASTCALL__ close(int fd)
; 07.2009 aralbrec
XLIB close
XDEF LIBDISP_CLOSE, LIBDISP2_CLOSE
LIB stdio_fdcommon1, l_jpix, stdio_findfdstruct, stdio_free
LIB stdio_success_znc, stdio_error_ebadf_mc
INCLUDE "../stdio.def"
; enter : l = fd to close
; exit : hl = 0, carry reset for success
; ... |
engine/events/field_moves.asm | Dev727/ancientplatinum | 28 | 56096 | <filename>engine/events/field_moves.asm
FIELDMOVE_GRASS EQU $80
FIELDMOVE_TREE EQU $84
FIELDMOVE_FLY EQU $84
PlayWhirlpoolSound:
call WaitSFX
ld de, SFX_SURF
call PlaySFX
call WaitSFX
ret
BlindingFlash:
farcall FadeOutPalettes
ld hl, wStatusFlags
set STATUSFLAGS_FLASH_F, [hl]
farcall ReplaceTimeOfDayPals
fa... |
programs/oeis/310/A310413.asm | jmorken/loda | 1 | 56097 | <reponame>jmorken/loda
; A310413: Coordination sequence Gal.6.323.1 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,4,10,14,20,24,30,34,40,44,50,54,58,64,68,74,78,84,88,94,98,104,108,112,118,122,128,132,138,142,148,152,158,162,166,... |
src/minesweeper.asm | zetaraku/minesweeper | 0 | 56099 | <filename>src/minesweeper.asm
TITLE Minesweeper
INCLUDE Irvine32.inc
main EQU mainCRTStartup
; main EQU start@0
; ==================Macros=================
mSetColor MACRO color:=<lightGray>, bgcolor:=<black>
push eax
mov eax, bgcolor
shl eax, 4
add eax, color
call SetTextColor
pop eax
ENDM
... |
asm/Tutorial/blank_template.asm | clydeshaffer/GameTankEmulator | 3 | 56100 | .org $E000
RESET:
;code here will get run once when the system boots
Forever:
;code here will run over and over until the system is reset or turned off
JMP Forever
IRQ:
;code here will run after certain interrupts (if enabled)
;such as when a DMA draw call completes
RTI
NMI:
;code here ... |
07-uart-functions/uart-functions.asm | SgtCoDFish/bedrock-bootstrap | 7 | 56102 | <filename>07-uart-functions/uart-functions.asm
addi x0, x0, 0x00
addi x0, x0, 0x00
addi x0, x0, 0x00
addi x0, x0, 0x00
# Initialise UART
lui a5, 0x10012
addi a5, a5, 0x3c
lw a0, 0(a5)
addi a1, x0, 0x3
slli a1, a1, 0x10
sub a1, x0, a1
and a0, a1, a0
sw a0, 0(a5)
addi a5, a5, -0x8
lw a0, 0(a5)
sub a1, x0, a1
or a0, a0, ... |
iod/con2/gold/procv.asm | olifink/smsqe | 0 | 56103 | <filename>iod/con2/gold/procv.asm
; Gold Card initialise QL Mode Displays 1.01 1992 <NAME> QJUMP
; 2003 <NAME>
;
; 2003-03-05 1.01 Extended for mode 16 (MK)
section init
xdef cn_procv
xref au_modes
xref gu_tpadd
xref gu_thini
xref ut_procdef
include 'dev8_keys_aurora'
include 'dev8_keys_con'... |
programs/oeis/190/A190569.asm | neoneye/loda | 22 | 56104 | ; A190569: Number of n-step one-sided prudent walks, avoiding single west steps and single east steps.
; 1,1,3,7,13,25,51,103,205,409,819,1639,3277,6553,13107,26215,52429,104857,209715,419431,838861,1677721,3355443,6710887,13421773,26843545,53687091,107374183,214748365,429496729,858993459,1717986919,3435973837
add $0,... |
Source/run.asm | MarcusCemes/micro-210-project | 0 | 56105 | ; file: run.asm target: ATmega128L-4MHz-STK300
; Reads the temperature and displays on LCD and servo.
; === Definitions === ;
.equ npt = 1484 ; effective/observed neutral point of individual servo
; === Subroutines === ;
run:
rcall LCD_clear
rcall RE_init_nonblocking
P1 DDRD, SERVO1
... |
operating_sys/ls.asm | jasper-lov/waterville_os | 0 | 56106 |
_ls: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
close(fd);
}
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc push -0x4(%ecx)
a: 55 push %eb... |
src/walls.asm | hgwood/blox86 | 3 | 56108 | %assign wall_char 58h ; 'X'
%assign left_wall_x 0
%assign top_wall_y 0
%assign right_wall_x left_wall_x + arena_width + 1
draw_walls:
pusha
mov al, wall_char
; upper wall
mov dh, top_wall_y
mov ch, left_wall_x
mov cl, right_wall_x
call print_horizontal_line
; left wall
mov dl, left_wall_x
mov ch, t... |
libsrc/printflike/unused/scanf1.asm | meesokim/z88dk | 1 | 56109 | <reponame>meesokim/z88dk<gh_stars>1-10
;* * * * * Small-C/Plus Z88 * * * * *
; Version: v1.10b0.49 Date: 14/3/99
;
; Reconstructed for the z80 Module Assembler
; By <NAME> <<EMAIL>>
; Small C+ Library Function
XLIB scanf1
INCLUDE "z88_crt0.hdr"
LIB sf_getc;
... |
programs/oeis/034/A034323.asm | neoneye/loda | 22 | 56110 | ; A034323: a(n) = n-th quintic factorial number divided by 2.
; 1,7,84,1428,31416,848232,27143424,1004306688,42180880896,1982501402112,103090072909824,5876134155859968,364320317663318016,24409461283442307072,1757481212407846109184,135326053355404150407168,11096736375143140333387776,965416064637453209004736512,888182779... |
src/main/fragment/mos6502-common/vdum1_lt_vdum2_then_la1.asm | jbrandwood/kickc | 2 | 56111 | <filename>src/main/fragment/mos6502-common/vdum1_lt_vdum2_then_la1.asm<gh_stars>1-10
lda {m1}+3
cmp {m2}+3
bcc {la1}
bne !+
lda {m1}+2
cmp {m2}+2
bcc {la1}
bne !+
lda {m1}+1
cmp {m2}+1
bcc {la1}
bne !+
lda {m1}
cmp {m2}
bcc {la1}
!:
|
latest/boot/switch_to_pm.asm | soumitradev/assembly-fun | 2 | 56113 | ; We are still in 16 bit mode
[bits 16]
; Create a jump point so we can jump into 32 bit
switch_to_pm:
; Disable all system interrupts since those only work in 16 bit mode.
cli
; Load gdt
lgdt [gdt_descriptor]
; To switch to 32 bit protected mode, we need to set this register on the CPU
mov eax, cr0
or eax, 0x1
mov... |
exomizer310decruncher.h.asm | NegativeCharge/exomizer-3.1.0 | 3 | 56114 | ; -------------------------------------------------------------------
; Controls if the shared get_bits routines should be inlined or not.
INLINE_GET_BITS = 1
; -------------------------------------------------------------------
; if literal sequences is not used (the data was crunched with the -c
; flag) then setting ... |
libsrc/_DEVELOPMENT/arch/sms/misc/c/sdcc_ix/sms_tiles_put_area.asm | jpoikela/z88dk | 640 | 56115 | <reponame>jpoikela/z88dk<gh_stars>100-1000
; void sms_tiles_put_area(struct r_Rect8 *r, void *src)
SECTION code_clib
SECTION code_arch
PUBLIC _sms_tiles_put_area
EXTERN _sms_tiles_put_area_callee_0
_sms_tiles_put_area:
pop af
pop bc
pop de
push de
push bc
push af
jp _sms_tiles_put_area... |
MSDOS/Virus.MSDOS.Unknown.ravage.asm | fengjixuchui/Family | 3 | 56119 | <filename>MSDOS/Virus.MSDOS.Unknown.ravage.asm
; Virusname: Ravage
; Origin: Sweden
; Author: <NAME>
; This virus can be found with any anti-virus program, since it's been
; around for a while now. (SCAN/TB-SCAN/F-PROT/SOLOMON, that is..)
; It's a resident .COM and .EXE infector, without any encryption or
; stealth... |
util/gut/rjob.asm | olifink/smsqe | 0 | 56120 | <filename>util/gut/rjob.asm
; Kill or Die V2.00 1988 <NAME>
section gen_util
xdef gu_rjob
xdef gu_die
include 'dev8_keys_qdos_sms'
include 'dev8_keys_err'
;+++
; Called when program wishes to die: standard force remove job
;
; d0 c error code
;---
gu_die... |
oeis/026/A026004.asm | neoneye/loda-programs | 11 | 56121 | ; A026004: a(n) = T(3n+1,n), where T = Catalan triangle (A008315).
; Submitted by <NAME>(w1)
; 1,3,14,75,429,2548,15504,95931,600875,3798795,24192090,154969620,997490844,6446369400,41802112192,271861216539,1772528290407,11582393855305,75831424919250,497337483739635,3266814940064445,21488271095284560,141521997156845760,... |
programs/oeis/053/A053737.asm | karttu/loda | 0 | 56122 | ; A053737: Sum of digits of (n written in base 4).
; 0,1,2,3,1,2,3,4,2,3,4,5,3,4,5,6,1,2,3,4,2,3,4,5,3,4,5,6,4,5,6,7,2,3,4,5,3,4,5,6,4,5,6,7,5,6,7,8,3,4,5,6,4,5,6,7,5,6,7,8,6,7,8,9,1,2,3,4,2,3,4,5,3,4,5,6,4,5,6,7,2,3,4,5,3,4,5,6,4,5,6,7,5,6,7,8,3,4,5,6,4,5,6,7,5,6,7,8,6,7,8,9,4,5,6,7,5,6,7,8,6,7,8,9,7,8,9,10,2,3,4,5,3,... |
programs/oeis/079/A079102.asm | jmorken/loda | 1 | 56123 | ; A079102: a(2n) = 2^n, a(2n+1) = 2^(2n).
; 1,2,4,4,16,8,64,16,256,32,1024,64,4096,128,16384,256,65536,512,262144,1024,1048576,2048,4194304,4096,16777216,8192,67108864,16384,268435456,32768,1073741824,65536,4294967296,131072,17179869184,262144
mov $1,1
mov $2,$0
lpb $2
lpb $0
add $0,$2
trn $0,3
mul $1,2
... |
src/string/string_append/example/001_gettingStarted/_start.asm | nikAizuddin/lib80386 | 4 | 56124 | <gh_stars>1-10
; 1 2 3 4 5 6 7
;234567890123456789012345678901234567890123456789012345678901234567890
;=====================================================================
;
; EXAMPLE 001: Getting Started
; EXAMPLE PURPOSE: Demonstrates how to use the func... |
_maps/obj3C.asm | NatsumiFox/AMPS-Sonic-1-2005 | 2 | 56125 | <reponame>NatsumiFox/AMPS-Sonic-1-2005<gh_stars>1-10
; ---------------------------------------------------------------------------
; Sprite mappings - smashable walls (GHZ, SLZ)
; ---------------------------------------------------------------------------
dc.w byte_D2BC-Map_obj3C
dc.w byte_D2E5-Map_obj3C
dc.w byt... |
data/mapObjects/route2house.asm | etdv-thevoid/pokemon-rgb-enhanced | 1 | 56126 | <filename>data/mapObjects/route2house.asm
Route2HouseObject:
db $a ; border block
db $2 ; warps
db $7, $2, $3, $ff
db $7, $3, $3, $ff
db $0 ; signs
db $2 ; objects
object SPRITE_OAK_AIDE, $2, $4, STAY, RIGHT, $1 ; person
object SPRITE_GAMEBOY_KID, $4, $1, STAY, DOWN, $2 ; person
; warp-to
EVENT_DISP ROUTE... |
_incObj/09 Sonic in Special Stage.asm | kodishmediacenter/msu-md-sonic | 9 | 56128 | <reponame>kodishmediacenter/msu-md-sonic<gh_stars>1-10
; ---------------------------------------------------------------------------
; Object 09 - Sonic (special stage)
; ---------------------------------------------------------------------------
SonicSpecial:
tst.w (v_debuguse).w ; is debug mode being used?
beq.s... |
Altair101/asm/programs/opAdd.asm | tigerfarm/arduino | 2 | 56129 | <gh_stars>1-10
; --------------------------------------
; Test ADD, and moving data from addresses to registers and back.
;
; Before loading the program confirm the memory is all set to zeros.
... |
oeis/290/A290056.asm | neoneye/loda-programs | 11 | 56131 | <reponame>neoneye/loda-programs
; A290056: Number of cliques in the n-triangular graph.
; 1,2,8,27,76,192,456,1045,2344,5186,11364,24719,53444,114948,246096,524713,1114640,2359942,4981516,10486691,22021196,46138632,96470488,201328317,419432376,872417482,1811941876,3758099255,7784631444,16106130956,33286000544,687194811... |
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0_notsx.log_21829_1037.asm | ljhsiun2/medusa | 9 | 56132 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r15
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1cef3, %rsi
lea addresses_WT_ht+0xc93, %rdi
nop
nop
nop
nop
cmp %rbx, %rbx
mov $112, %rcx
rep movsl
nop
nop
nop
nop
inc %rdi
lea addresses_WT_ht+0xf293, %rsi
lea address... |
bin/asm/_strcase_cmp.asm | guillaumebgd/ReaderELF | 2 | 56133 | <filename>bin/asm/_strcase_cmp.asm
BITS 64 ; 64-bit mode
INT_EXIT EQU 60
SECTION .text ; Code section
GLOBAL _start
GLOBAL _strcasecmp:function ; Export '_strcasecmp'
tolower:
MOV AL, DIL ; Places argument in AL.
CMP AL, 65 ... |
assembly/youtubers/kupala/math.asm | argodev/2021 | 0 | 56134 | ;
; simple program to show some simple math
;
section .data
digit db 0,10 ; define variable named "digit", init to 0 + LineFeed
section .text
global _start
_start:
; simple division
mov rax, 6
mov rbx, 2
div rbx
call _printRAXDigit
; addition
mov rax, 1
add rax, 4
... |
programs/oeis/002/A002700.asm | jmorken/loda | 1 | 56135 | <filename>programs/oeis/002/A002700.asm
; A002700: Coefficients of Chebyshev polynomials: n*(2*n+1) * 4^(n-1).
; 3,40,336,2304,14080,79872,430080,2228224,11206656,55050240,265289728,1258291200,5888802816,27246198784,124822487040,566935683072,2555505541120,11441792876544,50921132261376,225399883694080,992858999881728,43... |
projects/vmt/scratch/or.asm | RobertCurry0216/nand2tetris | 0 | 56136 | // or
// load top of stack into D
@SP
AM=M-1
D=M
// dec sp
A=A-1
// or top of stack and D
M=D|M
|
test/actual/comment.asm | amisonnet8/hack | 0 | 56137 | <filename>test/actual/comment.asm
// comment test
(a)
@R0
@R1
@R2
@R3
@R4
@R5 // comment test
@R6
@R7
@R8
@R9
@R10
@R11
@R12
@R13
@R14
@R15
@SP
@LCL
// あああああ
@THIS
@THAT
@SCREEN
@KBD
@a
// comment test@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_.$:
@ABCDEFGHIJKLMNOPQRST... |
data/mapHeaders/redshouse2f.asm | adhi-thirumala/EvoYellow | 16 | 56138 | <filename>data/mapHeaders/redshouse2f.asm
RedsHouse2F_h:
db REDS_HOUSE_2 ; tileset
db REDS_HOUSE_2F_HEIGHT, REDS_HOUSE_2F_WIDTH ; dimensions
dw RedsHouse2FBlocks, RedsHouse2FTextPointers, RedsHouse2FScript
db $00 ; no connections
dw RedsHouse2FObject
|
oeis/118/A118589.asm | neoneye/loda-programs | 11 | 56139 | ; A118589: E.g.f.: A(x) = exp(x + x^2 + x^3).
; Submitted by <NAME>
; 1,1,3,13,49,261,1531,9073,63393,465769,3566611,29998101,262167313,2394499693,23249961099,233439305401,2439472944961,26649502709073,300078056044963,3498896317045789,42244252226263281,524289088799352661,6707157041780104603,88326410534552529153,11927264... |
uti/chkmenus.asm | olifink/smsqe | 0 | 56140 | ; Check for Menu's presence and version number 1990 <NAME> V0.01
section utility
include dev8_keys_wman
include dev8_keys_wstatus
include dev8_keys_qdos_sms
include dev8_keys_err
include dev8_keys_thg
include dev8_mac_xref
xdef ut_menvs ; check for MENUS and version
;+++
; Check for menus and return ve... |
programs/oeis/171/A171763.asm | jmorken/loda | 1 | 56141 | <filename>programs/oeis/171/A171763.asm<gh_stars>1-10
; A171763: Odd numbers whose binary expansion begins 10.
; 5,9,11,17,19,21,23,33,35,37,39,41,43,45,47,65,67,69,71,73,75,77,79,81,83,85,87,89,91,93,95,129,131,133,135,137,139,141,143,145,147,149,151,153,155,157,159,161,163,165,167,169,171,173,175,177,179,181,183,185,... |
PRG/levels/Plains/1-1.asm | narfman0/smb3_pp1 | 0 | 56142 | <reponame>narfman0/smb3_pp1
; Original address was $BB82
; World 1-1's layout data
.word W101_BonusL ; Alternate level layout
.word Empty_ObjLayout ; Alternate object layout
.byte LEVEL1_SIZE_11 | LEVEL1_YSTART_180
.byte LEVEL2_BGPAL_00 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18 | LEVEL2_UNUSEDFLAG
.byte LEVEL3_TILESET... |
programs/oeis/173/A173434.asm | neoneye/loda | 22 | 56143 | <filename>programs/oeis/173/A173434.asm
; A173434: a(n) = (A000045(n)-A173432(n))/2.
; 0,0,0,1,2,4,6,10,16,27,44,72,116,188,304,493,798,1292,2090,3382,5472,8855,14328,23184,37512,60696,98208,158905,257114,416020,673134,1089154,1762288,2851443,4613732,7465176
seq $0,74331 ; a(n) = Fibonacci(n+1) - (1 + (-1)^n)/2.
div $... |
win32/asm64fpu/print.asm | c-jullien/lelisp | 13 | 56145 | .386p
.387
include print.dat
assume cs:FLAT,ds:FLAT,es:FLAT,fs:FLAT,gs:FLAT,ss:FLAT
_TEXT segment para use32 public 'CODE'
include print.equ
ini_print proc near
mov dword ptr [iexpld],esi
mov dword ptr [obase],10
mov dword ptr [prmdp],100
mov dword ptr [prmlp],2000
mov dword ptr [prmln],2000
... |
Mid-Term/Solution/2.asm | AhnafNSU/CSE331L-Section-1-Fall20-NSU | 0 | 56146 |
.MODEL SMALL
.STACK 100H
.DATA
PROMPT1 DB "Numbers are: $"
.CODE
MAIN PROC
MOV AX, @DATA
MOV DS, AX
LEA DX, PROMPT1
MOV AH, 9
INT 21H
MOV CX, 10
MOV AH, 2
MOV DL, 48
@LOOP:
INT 21H
... |
tests/misc/export/dir_export.asm | fengjixuchui/sjasmplus | 220 | 56148 | EXPORT ; syntax error
EXPORT ! ; syntax error 2
EXPORT nonExistentLabel ; label not found error
EXPORT fwdRefNormal
EXPORT .fwdRefLocal ; this is error, the main label here is undefined ("_")
EXPORT fwdRefNormal.fwdRefLocal
EXPORT @fwdRe... |
programs/oeis/213/A213846.asm | jmorken/loda | 1 | 56149 | <gh_stars>1-10
; A213846: Antidiagonal sums of the convolution array A213844.
; 3,23,90,250,565,1113,1988,3300,5175,7755,11198,15678,21385,28525,37320,48008,60843,76095,94050,115010,139293,167233,199180,235500,276575,322803,374598,432390,496625,567765,646288,732688,827475,931175,1044330,1167498,1301253,1446185,1602900,... |
symbolinen_konekieli/Ratol_msdos/tulnimi.asm | tkukka/VariousContent | 0 | 56150 | ;RaTol Symbolinen konekieli: Harjoitus 5, tehtävä 2
;<NAME> IY96A
;Tiedosto: tulnimi.asm
;Luotu 19.4.1998
include a:makrot.txt
;Aliohjelma _tulosta_nimi
public _tulosta_nimi
.model large ;huom. muistimalli
.stack 0h ... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_964.asm | ljhsiun2/medusa | 9 | 56151 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r15
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x195ef, %r12
nop
nop
nop
nop
nop
sub $46104, %rax
mov (%r12), %r8
add $32364, %r15
lea addresses_WC_ht+0x1131f, %r9
xor $47213, %r10
movw $0x6162, (%r9... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_391.asm | ljhsiun2/medusa | 9 | 56152 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_391.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x9fe2, %rsi
lea addresses_UC_ht+0x14e00, %rdi
nop
nop
sub %r9, %r9
mov $50, %rcx
rep movsw
nop
sub %r12, %r12
lea a... |
libsrc/_DEVELOPMENT/adt/w_vector/c/sccz80/w_vector_erase_range_callee.asm | teknoplop/z88dk | 8 | 56153 | <filename>libsrc/_DEVELOPMENT/adt/w_vector/c/sccz80/w_vector_erase_range_callee.asm
; size_t w_vector_erase_range(w_vector_t *v, size_t idx_first, size_t idx_last)
SECTION code_clib
SECTION code_adt_w_vector
PUBLIC w_vector_erase_range_callee
EXTERN w_array_erase_range_callee
defc w_vector_erase_range_callee = w_a... |
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_20623_1814.asm | ljhsiun2/medusa | 9 | 56154 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x48d4, %rsi
lea addresses_D_ht+0x18754, %rdi
nop
nop
nop
cmp %r8, %r8
mov $64, %rcx
rep movsw
nop
nop
nop
nop
nop
and $25924, %rbx
lea addresses_UC_h... |
oeis/294/A294305.asm | neoneye/loda-programs | 11 | 56155 | ; A294305: Sum of the tenth powers of the parts in the partitions of n into two distinct parts.
; 0,0,1025,59050,1108650,10815226,71340451,352767124,1427557524,4904576300,14914341925,40791300350,102769130750,240345147350,529882277575,1105458926376,2206044295976,4218551412024,7792505423049,13913571680850,24163571680850,... |
benchmark/checksum.asm | icepic/bitfire | 27 | 56156 | <gh_stars>10-100
;
; (c) Copyright 2021 by <NAME>. All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
; * Redistributions of source code must retain the above copyright
; notice, this l... |
libsrc/_DEVELOPMENT/stdio/c/sdcc_ix/fgetc_unlocked_fastcall.asm | jpoikela/z88dk | 640 | 56157 | <filename>libsrc/_DEVELOPMENT/stdio/c/sdcc_ix/fgetc_unlocked_fastcall.asm<gh_stars>100-1000
; int fgetc_unlocked_fastcall(FILE *stream)
SECTION code_clib
SECTION code_stdio
PUBLIC _fgetc_unlocked_fastcall
EXTERN asm_fgetc_unlocked
_fgetc_unlocked_fastcall:
push hl
ex (sp),ix
call asm_fgetc_unlocked
... |
libsrc/_DEVELOPMENT/adt/p_list/z80/asm_p_list_prev.asm | meesokim/z88dk | 0 | 56158 | <reponame>meesokim/z88dk<filename>libsrc/_DEVELOPMENT/adt/p_list/z80/asm_p_list_prev.asm
; ===============================================================
; Sep 2014
; ===============================================================
;
; void *p_list_prev(void *item)
;
; Return next item in list.
;
; ==================... |
test/sarx.asm | killvxk/AssemblyLine | 147 | 56160 | SECTION .text
GLOBAL test
test:
sarx rax, rax, rax
sarx rax, rax, rbx
sarx rax, rax, rcx
sarx rax, rax, rdx
sarx rax, rax, rdi
sarx rax, rax, r8
sarx rax, rax, r9
sarx rax, rax, r10
sarx rax, rax, r11
sarx rax, rax, r12
sarx rax, rax, r13
sarx rax, rax, r14
sarx rax, rax, r15
sarx rax, rax, rsp
sarx rax, rax, rsi
sarx ... |
programs/oeis/267/A267048.asm | jmorken/loda | 1 | 56161 | <reponame>jmorken/loda<filename>programs/oeis/267/A267048.asm
; A267048: Number of OFF (white) cells in the n-th iteration of the "Rule 91" elementary cellular automaton starting with a single ON (black) cell.
; 0,1,3,3,4,3,8,3,12,3,16,3,20,3,24,3,28,3,32,3,36,3,40,3,44,3,48,3,52,3,56,3,60,3,64,3,68,3,72,3,76,3,80,3,84... |
custom_lcd.asm | jaccharrison/ece422_project3 | 0 | 56162 | ;;; ----------------------------------------------------------------------------
;;; custom_lcd.asm:
;;; Custom assembly functions for the MSP430
;;; ----------------------------------------------------------------------------
.cdecls C,LIST,"msp430.h","myLCD.h"
;;; Symbolic constant ----------------------------------... |
Transynther/x86/_processed/NONE/_un_/i9-9900K_12_0xa0_notsx.log_1_1069.asm | ljhsiun2/medusa | 9 | 56163 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1502b, %rsi
lea addresses_normal_ht+0x982b, %rdi
nop
nop
nop
nop
and $64289, %r12
mov $107, %rcx
rep movsl
nop
dec %r8
lea addresses_UC_ht+0xa42b, %r15
nop
nop
nop
nop
nop
su... |
programs/oeis/009/A009999.asm | neoneye/loda | 22 | 56164 | <filename>programs/oeis/009/A009999.asm
; A009999: Triangle in which j-th entry in i-th row is (i+1-j)^j, 0<=j<=i.
; 1,1,1,1,2,1,1,3,4,1,1,4,9,8,1,1,5,16,27,16,1,1,6,25,64,81,32,1,1,7,36,125,256,243,64,1,1,8,49,216,625,1024,729,128,1,1,9,64,343,1296,3125,4096,2187,256,1,1,10,81,512,2401,7776,15625,16384,6561,512,1,1,11... |
samples/if.asm | mateusragazzi/MIPS-Codes | 2 | 56165 | .text
addi $t1, $zero, 3 # A
addi $t2, $zero, 1 # B
slt $t4, $t1, $t2 # < = 1
beq $t4, $zero, else
addi $t3, $zero, 2
j endif
else: addi $t3, $zero, 3
endif:
li $v0, 1 # service 1 is print integer
add $a0, $t3, $zero # load desired value into argument regist... |
include/maincpu.asm | Ralakimus/sega-cd-asic-demo | 4 | 56166 |
; -------------------------------------------------------------------------
;
; Sega CD Base
; By Ralakimus 2021
;
; -------------------------------------------------------------------------
; -------------------------------------------------------------------------
; Includes
; -------------------------------------... |
programs/oeis/103/A103889.asm | neoneye/loda | 22 | 56167 | <filename>programs/oeis/103/A103889.asm
; A103889: Odd and even positive integers swapped.
; 2,1,4,3,6,5,8,7,10,9,12,11,14,13,16,15,18,17,20,19,22,21,24,23,26,25,28,27,30,29,32,31,34,33,36,35,38,37,40,39,42,41,44,43,46,45,48,47,50,49,52,51,54,53,56,55,58,57,60,59,62,61,64,63,66,65,68,67,70,69,72,71
mov $1,-1
pow $1,$0... |
assembly/hello.asm | Wiladams/masters | 0 | 56168 | format ELF64 executable 3
segment readable executable
entry main
main:
lea rdi, [msg] ; address of message in rdi
mov rax, 15 ; length goes into rax register
mov rdx, rax ; move rax into rdx register
mov rsi, rdi ; move rdi to rsi
mov rdi, 1 ; stdout
mov ... |
programs/oeis/117/A117722.asm | neoneye/loda | 22 | 56169 | <filename>programs/oeis/117/A117722.asm
; A117722: A000045(A003622(n)).
; 1,3,8,34,144,377,1597,4181,17711,75025,196418,832040,3524578,9227465,39088169,102334155,433494437,1836311903,4807526976,20365011074,53316291173,225851433717,956722026041,2504730781961,10610209857723
seq $0,1950 ; Upper Wythoff sequence (a Beatty... |
OSSOURCE/misccode.asm | mooseman/smallOS | 3 | 56170 | ; MMURTL Operating System Source Code
; Written by <NAME>
;
; This code is released to the public domain.
; "Share and enjoy....." ;)
;
;===============================================
.CODE
;The following calls are miscellaneous support functions that
;support I/O and high speed string funct... |
src/privileged/base.asm | Willem3141/kernel | 251 | 56171 | #include "constants.asm"
#include "00.sym"
.org 0x4000
rst 0 ; Crash before runaway code breaks things
jp _unlockFlash
jp _lockFlash
_unlockFlash:
ld a,i
jp pe, _
ld a, i
_: push af
di
ld a, 1
nop
nop
im 1
di
out (PORT_FLASHRWCONTROL), a
pop af
ret po
ei
r... |
kernel/sprites/spritesetup.asm | paulscottrobson/eris | 13 | 56172 | ; *****************************************************************************
; *****************************************************************************
;
; Name: spritesetup.asm
; Purpose: Set up sprites
; Created: 26th March 2020
; Reviewed: TODO
; Author: <NAME> (<EMAIL>)
;
; *************************... |
45/runtime/rt/tabspc.asm | minblock/msdos | 0 | 56176 | TITLE TABSPC - TAB and SPC functions
;***
; TABSPC - TAB and SPC functions
;
; Copyright <C> 1986, Microsoft Corporation
;
;Purpose:
;
;******************************************************************************
INCLUDE switch.inc
INCLUDE rmacros.inc ; Runtime Macro Defintions
USESEG _BSS
USESEG DV_TEXT
... |
oeis/037/A037671.asm | neoneye/loda-programs | 11 | 56177 | ; A037671: Base 8 digits are, in order, the first n terms of the periodic sequence with initial period 3,2,0.
; Submitted by <NAME>
; 3,26,208,1667,13338,106704,853635,6829082,54632656,437061251,3496490010,27971920080,223775360643,1790202885146,14321623081168,114572984649347,916583877194778,7332671017558224,58661368140... |
ls.asm | spencer-hann/xv6-pdx | 1 | 56179 | <reponame>spencer-hann/xv6-pdx
_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 ... |
oeis/182/A182191.asm | neoneye/loda-programs | 11 | 56181 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A182191: a(n) = 6*a(n-1) - a(n-2) + 12 with n>1, a(0)=-1, a(1)=5.
; Submitted by <NAME>(m4a)
; -1,5,43,265,1559,9101,53059,309265,1802543,10506005,61233499,356895001,2080136519,12123924125,70663408243,411856525345,2400475743839,13990997937701,81545511882379,475282073356... |
Ouroboros/External/libjpegTurbo/simd/jcqnts2f-64.asm | jiangzhu1212/oooii | 0 | 56182 | ;
; jcqnts2f-64.asm - sample data conversion and quantization (64-bit SSE & SSE2)
;
; Copyright 2009 <NAME> <<EMAIL>> for Cendio AB
; Copyright 2009 <NAME>
;
; Based on
; x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright ... |
oeis/315/A315053.asm | neoneye/loda-programs | 11 | 56183 | ; A315053: Coordination sequence Gal.6.345.2 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.
; Submitted by <NAME>
; 1,5,9,15,20,24,30,36,40,45,51,55,60,65,69,75,80,84,90,96,100,105,111,115,120,125,129,135,140,144,150,156,160,165,171,1... |
programs/oeis/090/A090848.asm | neoneye/loda | 22 | 56184 | <filename>programs/oeis/090/A090848.asm
; A090848: Positions of the terms of A090847^4 in A090847, where A090847 is equal to the union of the self-convolutions A090847^2 and A090847^4 when ordered by size.
; 1,3,6,8,11,13,16,19,21,24,26,29,32,34,37,40,42,45,47,50,53,55,58,60,63,66,68,71,73,76,79,81,84,86,89,92,94,97,99... |
src/lilith.asm | xlambein/lilith | 0 | 56185 | <filename>src/lilith.asm<gh_stars>0
%macro exit 1
mov rdi, %1
mov rax, SYSCALL_EXIT
syscall
%endmacro
%macro next 0
mov rsp, rbp
mov rbp, rbx ; pop stack frame
jmp eval_next_word
%endmacro
%define prev_link 0
; **********************
; defcode defines a new codeword
;
; In: %1 word name
; %2 label for the wor... |
programs/oeis/305/A305268.asm | neoneye/loda | 22 | 56186 | ; A305268: a(n) = 82*2^n + 440.
; 522,604,768,1096,1752,3064,5688,10936,21432,42424,84408,168376,336312,672184,1343928,2687416,5374392,10748344,21496248,42992056,85983672,171966904,343933368,687866296,1375732152,2751463864,5502927288,11005854136,22011707832,44023415224,88046830008,176093659576,352187318712,704374636984... |
programs/oeis/151/A151984.asm | jmorken/loda | 1 | 56187 | <gh_stars>1-10
; A151984: Numbers that are congruent to {0, 1} mod 64.
; 0,1,64,65,128,129,192,193,256,257,320,321,384,385,448,449,512,513,576,577,640,641,704,705,768,769,832,833,896,897,960,961,1024,1025,1088,1089,1152,1153,1216,1217,1280,1281,1344,1345,1408,1409,1472,1473,1536,1537
mov $1,5
mov $3,$0
add $0,5
mov $2... |
Tradutor/Arquivos_teste/Operacoes_aritmeticas.asm | PedroAcA/SB_T2_Bruno | 0 | 56188 | <gh_stars>0
;Programa soma dois numeros (inteiros com sinal) fornecidos pelo usuario
SECTION TEXT
LOAD N2
MULT N1; resultado tem que ser -16
STORE R
OUTPUT R
LOAD N1
MULT N1; tem que ser 16
STORE R
OUTPUT R
LOAD N2
MULT N2; tem que ser 16
STORE R
OUTPUT R
LOAD N2
DIV N1; tem que ser -1
STORE R
OUTPUT R
LOAD N2
DIV ... |
Transynther/x86/_processed/AVXALIGN/_un_/i7-7700_9_0x48.log_14_2739.asm | ljhsiun2/medusa | 9 | 56189 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r14
push %r15
push %rax
push %rbx
push %rdi
// Load
mov $0x1a, %rdi
nop
nop
xor %r14, %r14
mov (%rdi), %eax
nop
nop
nop
nop
nop
xor %rbx, %rbx
// Store
mov $0x23477e00000002f8... |
release/src/router/gmp/mpn/ia64/lshiftc.asm | ghsecuritylab/Toastman-Tinc | 5 | 56190 | dnl IA-64 mpn_lshiftc.
dnl Contributed to the GNU project by <NAME>.
dnl Copyright 2000-2005, 2010 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl * the GN... |
programs/oeis/047/A047853.asm | karttu/loda | 1 | 56191 | ; A047853: a(n) = T(5,n), array T given by A047848.
; 1,2,10,74,586,4682,37450,299594,2396746,19173962,153391690,1227133514,9817068106,78536544842,628292358730,5026338869834,40210710958666,321685687669322,2573485501354570,20587884010836554
mov $1,8
pow $1,$0
div $1,7
add $1,1
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.