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 |
|---|---|---|---|---|
cat.asm | shoaibvijapure/Modified-xv6-MIT-Operating-System | 0 | 55590 | <reponame>shoaibvijapure/Modified-xv6-MIT-Operating-System
_cat: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
}
}
int
main(int argc, char *argv[])
{
0: f3 0f 1e fb endbr32
4: 8d 4c 24 04 lea 0x4(%esp),%ecx
8: 83 e4 f0 and $0xfffffff0,%... |
kernel/io.asm | danielabbott/UEFI-Bootloader | 1 | 55591 | BITS 64
SECTION .text
; void io_out8(uint16_t port, uint8_t data);
global io_out8
io_out8:
mov dx, di
mov al, sil
out dx, al
ret
; void io_out16(uint16_t port, uint16_t data);
global io_out16
io_out16:
mov dx, di
mov ax, si
out dx, ax
ret
; void io_out32(uint16_t port, uint32_t data)... |
programs/oeis/193/A193454.asm | neoneye/loda | 22 | 55592 | ; A193454: Sum of odd divisors of phi(n).
; 1,1,1,1,1,1,4,1,4,1,6,1,4,4,1,1,1,4,13,1,4,6,12,1,6,4,13,4,8,1,24,1,6,1,4,4,13,13,4,1,6,4,32,6,4,12,24,1,32,6,1,4,14,13,6,4,13,8,30,1,24,24,13,1,4,6,48,1,12,4,48,4,13,13,6,13,24,4,56,1,40,6,42,4,1,32,8,6,12,4,13,12,24,24,13,1,4,32,24,6
seq $0,53575 ; Odd part of phi(n): a(n)... |
third_party/codecs/xvidcore/src/image/x86_asm/postprocessing_sse2.asm | Narflex/sagetv | 292 | 55593 | ;/*****************************************************************************
; *
; * XVID MPEG-4 VIDEO CODEC
; * - sse2 post processing -
; *
; * Copyright(C) 2004 <NAME> <<EMAIL>>
; * 2004 Dcoder <<EMAIL>>
; *
; * Xvid is free software; you can redistribute it and/or modify it
; * under the terms... |
oeis/228/A228874.asm | neoneye/loda-programs | 11 | 55594 | <reponame>neoneye/loda-programs
; A228874: a(n) = L(n) * L(n+1) * L(n+2) * L(n+3), the product of four consecutive Lucas numbers, A000032.
; Submitted by <NAME>(s4)
; 24,84,924,5544,40194,269874,1864584,12741324,87431844,599001144,4106310474,28143249834,192901471224,1322153872644,9062210132844,62113226746824,4257306135... |
dimension/cell/debug/diable/diable.asm | ekscrypto/Unununium | 7 | 55595 | ;
; Diable
;
; Debugging cell, which present absolutely no dependencies. Allow to easily
; dump information, either hexadecimal or string, directly to memory locations
; in vga text format.
;
; All of the functions in this cell do not destroy any register. Two flavors
; of each function is provided, one is 'debug', w... |
programs/oeis/005/A005074.asm | neoneye/loda | 22 | 55596 | <reponame>neoneye/loda
; A005074: Sum of primes = 2 mod 3 dividing n.
; 0,2,0,2,5,2,0,2,0,7,11,2,0,2,5,2,17,2,0,7,0,13,23,2,5,2,0,2,29,7,0,2,11,19,5,2,0,2,0,7,41,2,0,13,5,25,47,2,0,7,17,2,53,2,16,2,0,31,59,7,0,2,0,2,5,13,0,19,23,7,71,2,0,2,5,2,11,2,0,7,0,43,83,2,22,2,29,13,89,7,0,25,0,49,5,2,0,2,11,7
add $0,1
mov $2,2... |
src/common.asm | Clinery1/asmGLFW | 1 | 55597 | <filename>src/common.asm
global myPrint
global myEprint
global exitOne
global exitZero
section .text
myPrint:
mov rax,1
mov rdx,rsi
mov rsi,rdi
mov rdi,1
syscall
ret
myEprint:
mov rsi,rdx
mov rdi,rsi
mov rdi,2
mov rax,1
syscall
ret
exitOne:
mov rax,60
mov rdi,-1... |
oeis/144/A144769.asm | neoneye/loda-programs | 11 | 55598 | ; A144769: a(n) = floor(prime(n)/3).
; Submitted by <NAME>
; 0,1,1,2,3,4,5,6,7,9,10,12,13,14,15,17,19,20,22,23,24,26,27,29,32,33,34,35,36,37,42,43,45,46,49,50,52,54,55,57,59,60,63,64,65,66,70,74,75,76,77,79,80,83,85,87,89,90,92,93,94,97,102,103,104,105,110,112,115,116
lpb $0
mov $2,$0
lpb $2
seq $0,4086 ; Read... |
engine/move_mon.asm | adhi-thirumala/EvoYellow | 16 | 55599 | _MoveMon:
ld a, [wMoveMonType]
and a
jr z, .checkPartyMonSlots
cp DAYCARE_TO_PARTY
jr z, .checkPartyMonSlots
cp PARTY_TO_DAYCARE
ld hl, wDayCareMon
jr z, .asm_f3fb
ld hl, wNumInBox
ld a, [hl]
cp MONS_PER_BOX
jr nz, .partyOrBoxNotFull
jr .boxFull
.checkPartyMonSlots
ld hl, wPartyCount
ld a, [hl]
cp PARTY... |
First Stage/disk_read/read_sector.asm | marmil03/Project-Lithosphere | 0 | 55600 | <filename>First Stage/disk_read/read_sector.asm
Read_Sector:
xor cx, cx
Read:
push ax
push cx
push bx
mov bx, Sectors_Per_Track
xor dx, dx
div bx
inc dx
mov cl, dl
mov bx, Heads_Per_Cylinder
xor dx, dx
div bx
mov ch, al
xchg dl, dh
mov ax, 0x0201
mov dl, Driv... |
oeis/037/A037713.asm | neoneye/loda-programs | 11 | 55601 | <gh_stars>10-100
; A037713: Base 8 digits are, in order, the first n terms of the periodic sequence with initial period 1,3,2,0.
; Submitted by <NAME>(s1.)
; 1,11,90,720,5761,46091,368730,2949840,23598721,188789771,1510318170,12082545360,96660362881,773282903051,6186263224410,49490105795280,395920846362241,316736677089... |
oeis/087/A087579.asm | neoneye/loda-programs | 11 | 55602 | ; A087579: a(n)=(1/6)*sum(k=0,n,binomial(n,k)*Fibonacci(k)*6^k).
; Submitted by <NAME>
; 1,8,93,976,10505,112344,1203397,12885152,137979729,1477507240,15821470061,169419470448,1814178395353,19426591805816,208023907911765,2227562425662784,23853192734743457,255424852222168392,2735141407084907389,29288451971122142480
mov... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_3_1034.asm | ljhsiun2/medusa | 9 | 55603 | <filename>Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_3_1034.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r15
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x10dff, %rsi
lea addresses_normal_ht+0x12197, %rdi
nop
nop
nop
and %r15, %r15
mov $34, %rcx
rep movsw
nop
nop... |
oeis/135/A135079.asm | neoneye/loda-programs | 11 | 55604 | ; A135079: E.g.f. A(x) = Sum_{n>=0} exp(3^n*x)*x^n/n!.
; Submitted by <NAME>
; 1,2,8,56,704,15392,593408,39691136,4650143744,944100803072,334651494268928,205435333440321536,219775256161359233024,407034554694060677537792,1312205966809501720566038528,7321877288337787991257755385856,71059533772859827616984100025401344,119... |
sk/sfx/9B.asm | Cancer52/flamedriver | 9 | 55605 | <reponame>Cancer52/flamedriver
Sound_9B_Header:
smpsHeaderStartSong 3
smpsHeaderVoice Sound_9B_Voices
smpsHeaderTempoSFX $01
smpsHeaderChanSFX $02
smpsHeaderSFXChannel cFM4, Sound_9B_FM4, $F2, $00
smpsHeaderSFXChannel cFM5, Sound_9B_FM5, $F9, $00
; Unused header:
smpsHeaderSFXChannel cFM3, Sound_9B_FM3, ... |
01InputAndOutput/constant.asm | chechiachang/assembly-intel-x86-nasm | 0 | 55606 | SYS_EXIT equ 1
SYS_WRITE equ 4
STDIN equ 0
STDOUT equ 1
section .text
global _start
_start:
mov eax,SYS_WRITE
mov ebx,STDOUT
mov ecx,msg1
mov edx,len1
int 80h
mov eax,SYS_WRITE
mov ebx,STDOUT
mov ecx,msg2
mov edx,len2
int 80h
mov eax,SYS_WRITE
mov ebx,STDOUT
mov ecx,msg3
mov edx,len3
int 80h
mov eax,SYS_EXIT
int 80h
se... |
programs/oeis/046/A046669.asm | neoneye/loda | 22 | 55607 | ; A046669: Partial sums of A020639.
; 1,3,6,8,13,15,22,24,27,29,40,42,55,57,60,62,79,81,100,102,105,107,130,132,137,139,142,144,173,175,206,208,211,213,218,220,257,259,262,264,305,307,350,352,355,357,404,406,413,415,418,420,473,475,480,482,485,487,546,548,609,611,614,616,621,623,690,692,695,697,768,770,843,845,848,850,... |
rom/src/init.asm | Gegel85/GBCGoogleMaps | 0 | 55609 | <gh_stars>0
; Routine in HRAM that start DMA.
; Params:
; a The start address divided by $100.
; Return:
; None
; Registers:
; af -> Not preserved
; bc -> Preserved
; de -> Preserved
; hl -> Preserved
initDMA::
ld [START_DMA], a
ld a, DMA_DELAY
.wait:
dec a
jr nz, .wait
ret
initDMA_end:
; Enable... |
src/lib/f265/x86inc.asm | sgblasi/hevcasm | 9 | 55611 | ; Copyright (c) 2014, <NAME>. All rights reserved. See LICENSE.txt
; for the full license text.
;
;
; This file handles OS-specific idiosyncrasies. In particular it unifies the
; amd64 (Unix) and x64 (Windows) calling conventions. It is heavily inspired by
; x264's x86inc.asm.
;
;
; The DECLARE_FUNCTION macro declares ... |
division.asm | forkkr/Assembly-Lab | 0 | 55612 | segment .data
a: dq 1110000000000
b: dq 11
c: dq 0
div: dw "Quotient:", 10, 0
fmt: dq "%s %lld %lld", 10, 0
segment .text
global main
extern printf
main:
push RBP
mov RDX, [c]
mov RAX, [a]
mov RBX, [b]
div RBX
mov RCX , RDX
mov RDI, fmt
mov RSI, div
mov RDX, RAX
mov RAX, 0
call printf
pop RBP
ret
|
programs/oeis/330/A330640.asm | neoneye/loda | 22 | 55613 | <gh_stars>10-100
; A330640: a(n) is the number of partitions of n with Durfee square of size <= 2.
; 1,1,2,3,5,7,11,15,22,29,40,51,67,83,105,127,156,185,222,259,305,351,407,463,530,597,676,755,847,939,1045,1151,1272,1393,1530,1667,1821,1975,2147,2319,2510,2701,2912,3123,3355,3587,3841,4095,4372,4649,4950,5251,5577,5903... |
src/lib/math/frexp.asm | germix/sanos | 57 | 55614 | ;-----------------------------------------------------------------------------
; frexp.asm - get normalized fraction and exponent
; Ported from <NAME>'s free C Runtime Library
;-----------------------------------------------------------------------------
SECTION .text
global frexp
... |
Software/New_MG/Firmware/PCB_Test/CPU2/F2837xD_common/source/F2837xD_DBGIER.asm | moverlin/Kirtley_picogrid | 2 | 55615 | <reponame>moverlin/Kirtley_picogrid<filename>Software/New_MG/Firmware/PCB_Test/CPU2/F2837xD_common/source/F2837xD_DBGIER.asm
;//###########################################################################
;//
;// FILE: F2837xD_DBGIER.asm
;//
;// TITLE: Set the DBGIER register
;//
;// DESCRIPTION:
;//
;// Function to... |
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca.log_21829_1105.asm | ljhsiun2/medusa | 9 | 55616 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r15
push %r9
push %rbx
push %rcx
lea addresses_UC_ht+0x17ae, %rbx
sub $47814, %r11
mov (%rbx), %r9w
nop
nop
nop
add $18517, %r15
lea addresses_WC_ht+0x11ae, %rcx
nop
nop
nop
nop
sub $58722, %r13
mov (%rcx), %r10d
... |
pwnlib/shellcraft/templates/amd64/linux/pread.asm | zaratec/pwntools | 5 | 55617 | <gh_stars>1-10
<%
from pwnlib.shellcraft.amd64.linux import syscall
%>
<%page args="fd, buf, nbytes, offset"/>
<%docstring>
Invokes the syscall pread. See 'man 2 pread' for more information.
Arguments:
fd(int): fd
buf(void): buf
nbytes(size_t): nbytes
offset(off_t): offset
</%docstring>
${sy... |
libsrc/_DEVELOPMENT/l/sdcc/____sdcc_ll_sub_hlix_deix_bc.asm | jpoikela/z88dk | 640 | 55618 | <filename>libsrc/_DEVELOPMENT/l/sdcc/____sdcc_ll_sub_hlix_deix_bc.asm<gh_stars>100-1000
SECTION code_clib
SECTION code_l_sdcc
PUBLIC ____sdcc_ll_sub_hlix_deix_bc
EXTERN ____sdcc_ll_sub_de_bc_hl
____sdcc_ll_sub_hlix_deix_bc:
push bc
IFDEF __SDCC_IX
push ix
pop bc
ELSE
push iy
pop bc
... |
unittests/ASM/PrimaryGroup/2_D3_00_2.asm | cobalt2727/FEX | 628 | 55619 | %ifdef CONFIG
{
"RegData": {
"R14": "1",
"R13": "1",
"R12": "1",
"R11": "1",
"R10": "0",
"R9": "0",
"R8": "0",
"RSP": "0"
}
}
%endif
mov r15, 1
; Should all set carry
;8bit
mov rax, 0x01
mov cl, 8
rol al, cl
mov r14, 0
cmovc r14, r15
; 16bit
mov rax, 0x0001
mov cl, 16
rol ax, c... |
programs/oeis/087/A087276.asm | karttu/loda | 0 | 55620 | ; A087276: Write n in binary: 1ab..yz, then a(n) = 1ab..yz + ... + 1yz + 1z + 1.
; 1,3,4,7,9,9,11,15,18,19,22,19,22,23,26,31,35,37,41,39,43,45,49,39,43,45,49,47,51,53,57,63,68,71,76,75,80,83,88,79,84,87,92,91,96,99,104,79,84,87,92,91,96,99,104,95,100,103,108,107,112,115
mov $3,$0
lpb $0,1
mov $1,$0
cal $1,80541 ; ... |
FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/Full_Demo/RegTest.asm | NoMaY-jp/FreeRTOS | 2,603 | 55622 | <filename>FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/Full_Demo/RegTest.asm
;/*
; * FreeRTOS V202107.00
; * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
; *
; * Permission is hereby granted, free of charge, to any person obtaining a copy of
; * this software and associate... |
src/presets/nintendopower_menu.asm | idlechild/sm_practice_hack | 15 | 55623 | PresetsMenuNintendopower:
dw #presets_goto_nintendopower_crateria
dw #presets_goto_nintendopower_brinstar
dw #presets_goto_nintendopower_norfair
dw #presets_goto_nintendopower_wrecked_ship
dw #presets_goto_nintendopower_maridia
dw #presets_goto_nintendopower_norfair_2
dw #presets_goto_ninten... |
oeis/069/A069813.asm | neoneye/loda-programs | 11 | 55625 | ; A069813: Maximum number of triangles in polyiamond with perimeter n.
; Submitted by <NAME>
; 1,2,3,6,7,10,13,16,19,24,27,32,37,42,47,54,59,66,73,80,87,96,103,112,121,130,139,150,159,170,181,192,203,216,227,240,253,266,279,294,307,322,337,352,367,384,399,416,433,450,467,486,503,522,541,560,579,600,619,640,661,682,703,... |
oeis/018/A018379.asm | neoneye/loda-programs | 11 | 55626 | ; A018379: Divisors of 294.
; Submitted by <NAME>
; 1,2,3,6,7,14,21,42,49,98,147,294
add $0,1
mov $3,1
lpb $0
sub $0,1
dif $2,2
add $2,$3
mov $1,$2
dif $2,6
mov $3,$1
lpe
mov $0,$1
|
Basic Programs/LAB/ASM_LAB/#3 MULT 2 NUMBERS.asm | dmdhrumilmistry/8051-Codes | 0 | 55627 | <reponame>dmdhrumilmistry/8051-Codes
ORG 0000H
START:
MOV 40H, #0FFH
MOV 41H, #0FFH
MOV A, 40H
MOV B, 41H
MUL AB
MOV 42H,A
MOV 43H,B
HERE : SJMP HERE
END
|
ts_export/argument.asm | ped7g/memdump | 4 | 55628 | ;
; Vypocet adresy z arguentu dot prikazu
; =====================================
;
nastav16
LD A,16
LD (soustava),A
RET
nastav10
LD A,10
LD (soustava),A
RET
vypocitej_adresu2
EX DE,HL
LD A,(DE)
INC DE
LD HL,... |
OvmfPkg/Library/BaseMemEncryptSevLib/X64/AsmHelperStub.nasm | ashkalra/edk2 | 0 | 55630 | <reponame>ashkalra/edk2<filename>OvmfPkg/Library/BaseMemEncryptSevLib/X64/AsmHelperStub.nasm
DEFAULT REL
SECTION .text
; INTN
; EFIAPI
; SetMemoryEncDecHypercall3AsmStub (
; IN UINTN HypercallNum,
; IN UINTN Arg1,
; IN UINTN Arg2,
; IN UINTN Arg3
; );
global ASM_PFX(SetMemoryEncDecHypercall3AsmStu... |
programs/oeis/057/A057524.asm | neoneye/loda | 22 | 55631 | <reponame>neoneye/loda
; A057524: Number of 3 x n binary matrices without unit columns up to row and column permutations.
; 1,3,7,14,25,41,64,95,136,189,256,339,441,564,711,885,1089,1326,1600,1914,2272,2678,3136,3650,4225,4865,5575,6360,7225,8175,9216,10353,11592,12939,14400,15981,17689,19530,21511,23639,25921,28364,30... |
externals/mpir-3.0.0/mpn/x86_64w/skylake/divexact_byff.asm | JaminChan/eos_win | 12 | 55632 | ; PROLOGUE(mpn_divexact_byff)
; Copyright 2009 <NAME>
;
; Windows Conversion Copyright 2008 <NAME>
;
; This file is part of the MPIR Library.
;
; The MPIR Library is free software; you can redistribute it and/or modify
; it under the terms of the GNU Lesser General Public License as published
; by the Free Softwa... |
Driver/IFS/GEOS/Common/gfsDisk.asm | steakknife/pcgeos | 504 | 55634 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1993 -- All Rights Reserved
PROJECT:
MODULE:
FILE: gfsDisk.asm
AUTHOR: <NAME>, Apr 14, 1993
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Description
---... |
edk2/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA9x4/CTA9x4Helper.asm | awwiniot/Aw1689UEFI | 21 | 55635 | <filename>edk2/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA9x4/CTA9x4Helper.asm
//
// Copyright (c) 2013, ARM Limited. All rights reserved.
//
// This program and the accompanying materials
// are licensed and made available under the terms and conditions of the BSD License... |
配套代码/L046/L046/3.1.asm | zmrbak/ReverseAnalysis | 35 | 55636 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.24.28117.0
TITLE C:\Users\libit\source\repos\L046\L046\L046.cpp
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
CONST SEGMENT
$SG5571 DB 'Hello World!', 0aH, 00H
ORG $+2
$SG5572 DB 'my_abs', 0aH, 00H
$SG5573 D... |
Transynther/x86/_processed/NONE/_zr_xt_/i3-7100_9_0x84_notsx.log_21829_1198.asm | ljhsiun2/medusa | 9 | 55637 | <filename>Transynther/x86/_processed/NONE/_zr_xt_/i3-7100_9_0x84_notsx.log_21829_1198.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %r9
push %rsi
lea addresses_normal_ht+0x17dc1, %r9
clflush (%r9)
nop
inc %r15
mov (%r9), %r12d
nop
nop
nop
nop
inc %rsi
pop %rsi
pop %r9
pop %r15
pop %r12
ret
... |
programs/oeis/004/A004956.asm | neoneye/loda | 22 | 55639 | ; A004956: a(n) = ceiling(n*phi), where phi is the golden ratio, A001622.
; 0,2,4,5,7,9,10,12,13,15,17,18,20,22,23,25,26,28,30,31,33,34,36,38,39,41,43,44,46,47,49,51,52,54,56,57,59,60,62,64,65,67,68,70,72,73,75,77,78,80,81,83,85,86,88,89,91,93,94,96,98,99,101,102,104,106,107,109,111,112,114,115,117,119,120,122,123,125,... |
programs/oeis/189/A189782.asm | jmorken/loda | 1 | 55640 | <reponame>jmorken/loda<filename>programs/oeis/189/A189782.asm
; A189782: n+[nr/t]+[ns/t]; r=pi/2, s=arcsin(8/17), t=arcsin(15/17).
; 2,4,8,10,14,16,20,22,26,28,30,34,36,40,42,46,48,52,54,58,60,62,66,68,72,74,78,80,84,86,90,92,94,98,100,104,106,110,112,116,118,122,124,126,130,132,136,138,142,144,148,150,154,156,158,162,... |
lib/player/freq/_pal.asm | munshkr/gakuon | 3 | 55641 | <filename>lib/player/freq/_pal.asm
;; Frequency table for PAL-B
;;
freq_lo:
; C C# D D# E F F# G G# A A# B
.byte $17,$27,$39,$4b,$5f,$74,$8a,$a1,$ba,$d4,$f0,$0e ; 1
.byte $2d,$4e,$71,$96,$be,$e8,$14,$43,$74,$a9,$e1,$1c ; 2
.byte $5a,$9c,$e2,$2d,$7c,$cf,$28,$85,$e8,$52,$c1,$37 ; 3
.byt... |
game/objects/01-numerals.asm | jamieleecho/dynosprite | 6 | 55642 | <reponame>jamieleecho/dynosprite
*********************************************************************************
* DynoSprite - game/objects/01-numerals.asm
* Copyright (c) 2013-2014, <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted pr... |
programs/oeis/064/A064170.asm | jmorken/loda | 1 | 55643 | <filename>programs/oeis/064/A064170.asm
; A064170: a(1) = 1; a(n+1) = product of numerator and denominator in Sum_{k=1..n} 1/a(k).
; 1,1,2,10,65,442,3026,20737,142130,974170,6677057,45765226,313679522,2149991425,14736260450,101003831722,692290561601,4745030099482,32522920134770,222915410843905,1527884955772562,10472279... |
libsrc/target/msx/im1_init.asm | Frodevan/z88dk | 4 | 55644 | SECTION code_clib
PUBLIC im1_init
PUBLIC _im1_init
EXTERN l_push_di
EXTERN l_pop_ei
EXTERN im1_vectors
EXTERN asm_interrupt_handler
EXTERN asm_im1_install_isr
im1_init:
_im1_init:
call l_push_di
ld hl,$fd9f
ld de,existing_int
ld bc,5
ldir
ld hl,asm_im1_hand... |
oeis/167/A167445.asm | neoneye/loda-programs | 11 | 55645 | ; A167445: Prime numbers ending in the prime number 61.
; Submitted by <NAME>
; 61,461,661,761,1061,1361,1861,2161,2861,3061,3361,3461,3761,4261,4561,4861,5261,5861,6361,6661,6761,6961,7561,8161,8461,8761,8861,9161,9461,9661,10061,10861,11161,11261,12161,14461,14561,15061,15161,15361,15461,15661,15761,16061,16361,16561... |
assignment1/tcp_bind_shell.asm | mrpapercut/SLAE | 0 | 55646 | <filename>assignment1/tcp_bind_shell.asm<gh_stars>0
section .text
global main
main:
xor edx, edx ; Zero-out EDX for later use
; sockfd = socket(PF_INET, SOCK_STREAM, 0)
mov eax, edx ; Zero-out EAX
mov ebx, edx ; Zero-out EBX
mov al, 0x66 ; SYS_SOCKETCALL
mov bl, 0x1 ; SYS_SOCKET... |
libsrc/_DEVELOPMENT/ctype/c/sccz80/tolower.asm | teknoplop/z88dk | 8 | 55647 | <gh_stars>1-10
; int tolower(int c)
SECTION code_clib
SECTION code_ctype
PUBLIC tolower
EXTERN asm_tolower
tolower:
inc h
dec h
ret nz
ld a,l
call asm_tolower
ld l,a
ret
|
release/src/router/gmp/source/mpn/x86/k7/mmx/lshift.asm | zhoutao0712/rtn11pb1 | 184 | 55648 | <reponame>zhoutao0712/rtn11pb1
dnl AMD K7 mpn_lshift -- mpn left shift.
dnl Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
dnl
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
dnl modify it under the terms of the GNU Lesser G... |
base/mvdm/wow16/win87em/emoemqb.asm | npocmaka/Windows-Server-2003 | 17 | 55650 | ;
;
; Copyright (C) Microsoft Corporation, 1987
;
; This Module contains Proprietary Information of Microsoft
; Corporation and should be treated as Confidential.
;
;
page ,132
title emoem.asm - OEM dependent code for 8087
;--------------------------------------------------------------------
;
; OEM cust... |
Source/HBIOS/romldr.asm | vipoo/RomWBW | 0 | 55651 | ;
;=======================================================================
; RomWBW Loader
;=======================================================================
;
; The loader code is invoked immediately after HBIOS completes system
; initialization. it is responsible for loading a runnable image
; (operating... |
oeis/178/A178572.asm | neoneye/loda-programs | 11 | 55655 | ; A178572: Numbers with ordered partitions that have periods of length 5.
; 11,47,108,194,305,441,602,788,999,1235,1496,1782,2093,2429,2790,3176,3587,4023,4484,4970,5481,6017,6578,7164,7775,8411,9072,9758,10469,11205,11966,12752,13563,14399,15260,16146,17057,17993,18954,19940,20951,21987,23048,24134,25245,26381,27542,2... |
data/pokemon/dex_entries/nidoking.asm | Dev727/ancientplatinum | 28 | 55656 | db "DRILL@" ; species name
dw 407, 1370 ; height, weight
db "It uses its thick"
next "arms, legs and"
next "tail to attack"
page "forcefully. Melee"
next "combat is its"
next "specialty.@"
|
other/nes/util.asm | CaptainDreamcast/prism | 7 | 55657 | ; arg1 1s
; arg2 10s
; out1 1s
; out2 2s
IncreaseTimer:
LDX arg1
LDY arg2
INX
CPX #$0A
BNE IncreaseTimerDone
CPY #$09
BEQ IncreaseTimerNoIncrease
LDX #$00
INY
JMP IncreaseTimerDone
IncreaseTimerNoIncrease:
DEX
IncreaseTimerDone:
STX out1
STY out2
RTS
; arg1 1s
; arg2 10s
; arg3 amou... |
asm/prime.asm | 64/riscv-sim | 1 | 55658 | <filename>asm/prime.asm
; compile with -O3 -march=rv32im -mabi=ilp32
;
; int is_prime(int x) {
; for (int i = 2; i < x; i++) {
; if (x % i == 0) {
; return 0;
; }
; }
; return 1;
; }
is_prime:
li a5,2
mv a4,a0
ble a0,a5,.L5
andi a... |
test/LabelHandler/LabelHandlerTest.asm | leonardo-ono/asm4mo | 10 | 55659 | <filename>test/LabelHandler/LabelHandlerTest.asm<gh_stars>1-10
;===============================================================================
; class LabelHandlerTest
;===============================================================================
bits 16
org 32768
start:
; --------------------------------------... |
boot1.asm | mateuseap/Bootloader | 3 | 55661 | <reponame>mateuseap/Bootloader<filename>boot1.asm
org 0x7c00
jmp 0x0000:start
start:
xor ax, ax
mov ds, ax
mov es, ax
mov ax, 0x50 ;0x50<<1 = 0x500 (início de boot2.asm)
mov es, ax
xor bx, bx ;posição = es<<1+bx
jmp reset
reset:
mov ah, 00h ;reseta o controlador de disco
mov dl... |
programs/oeis/001/A001795.asm | neoneye/loda | 22 | 55662 | <filename>programs/oeis/001/A001795.asm
; A001795: Coefficients of Legendre polynomials.
; 1,1,7,33,715,4199,52003,334305,17678835,119409675,1641030105,11435320455,322476036831,2295919134019,32968493968795,238436656380769,27767032438524099,203236010537432691,2989949596465113373,22091732848375837675,65553176056912302720... |
audio/sfx/unknown_80a89.asm | adhi-thirumala/EvoYellow | 16 | 55663 | SFX_80a89_4_Ch4:
dutycycle 240
unknownsfx0x20 4, 243, 128, 7
unknownsfx0x20 15, 231, 0, 7
unknownsfx0x20 8, 211, 16, 7
unknownsfx0x20 4, 194, 0, 7
unknownsfx0x20 4, 210, 240, 6
unknownsfx0x20 8, 193, 224, 6
endchannel
SFX_80aa4_4_Ch5:
dutycycle 90
unknownsfx0x20 6, 195, 1, 7
unknownsfx0x20 14, 183, 129, 6
... |
oeis/111/A111598.asm | neoneye/loda-programs | 11 | 55664 | <gh_stars>10-100
; A111598: Lah numbers: n!*binomial(n-1,7)/8!.
; Submitted by <NAME>
; 1,72,3240,118800,3920400,122316480,3710266560,111307996800,3339239904000,100919250432000,3088129063219200,96012739965542400,3040403432242176000,98228418580131840000,3241537813144350720000,109347875563402764288000,3772501706937395367... |
libsrc/_DEVELOPMENT/target/zx/driver/terminal/zx_01_output_fzx_tty_z88dk/zx_01_output_fzx_tty_z88dk_22_at.asm | RC2014Z80/z88dk | 8 | 55665 | <reponame>RC2014Z80/z88dk<filename>libsrc/_DEVELOPMENT/target/zx/driver/terminal/zx_01_output_fzx_tty_z88dk/zx_01_output_fzx_tty_z88dk_22_at.asm
SECTION code_driver
SECTION code_driver_terminal_output
PUBLIC zx_01_output_fzx_tty_z88dk_22_at
zx_01_output_fzx_tty_z88dk_22_at:
; at x,y
; de = parameters *
... |
scripts/PokemonTower5F.asm | opiter09/ASM-Machina | 1 | 55666 | <gh_stars>1-10
PokemonTower5F_Script:
call EnableAutoTextBoxDrawing
ld hl, PokemonTower5TrainerHeaders
ld de, PokemonTower5F_ScriptPointers
ld a, [wPokemonTower5FCurScript]
call ExecuteCurMapScriptInTable
ld [wPokemonTower5FCurScript], a
ret
PokemonTower5F_ScriptPointers:
dw PokemonTower5Script0
dw DisplayEne... |
examples/asm/loop.asm | dalloriam/slang | 0 | 55667 | <gh_stars>0
.data
.text
ld $0 1
ld $1 2
ld $3 11
begin: add $0 $1 $0
eq $0 $3
jeq @end
jmp @begin
end: ld $v0 2
syscall
|
ubb/asc/lab04_22102015/hw1.asm | AlexanderChristian/private_courses | 0 | 55668 | ;<NAME>, gr 917 (attended lab 4 with gr 914), 22.10.2015, homework for lab 4, problem 2 unsigned representation
assume cs:code, ds:data
data segment
;Solution on unsigned representation
;Problem:
;2. 2/(a+b*c-9)+d
;a,b,c-byte; d-doubleword
; (a + b * c - 9) = word
a db 10
b db 2
c db 3
d dd 12
x dd ?
data ends
... |
Pi2BoardPkg/PrePi/Arm/ModuleEntryPoint.asm | b-man/RaspberryPiPkg | 6 | 55670 | <gh_stars>1-10
//
// Copyright (c) 2011-2015, ARM Limited. All rights reserved.
//
// This program and the accompanying materials
// are licensed and made available under the terms and conditions of the BSD License
// which accompanies this distribution. The full text of the license may be found at
// http:... |
src/test/ref/sequence-locality-0.asm | jbrandwood/kickc | 2 | 55671 | // Tests statement sequence locality of if(cond) { stmt1; } else { stmt2; }
// Commodore 64 PRG executable file
.file [name="sequence-locality-0.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data [star... |
src/code/ai.asm | Hacktix/gb-tictactoe | 8 | 55672 | <reponame>Hacktix/gb-tictactoe
SECTION "Singleplayer AI", ROM0
;==============================================================
; Sets wCursorPosAI to the square in which the AI will place
; its symbol.
;==============================================================
CalculateTurnAI::
; Initialize Block-turn buffer
... |
programs/oeis/294/A294023.asm | jmorken/loda | 1 | 55673 | ; A294023: Sum of the differences of the larger and smaller parts in the partitions of n into two parts with the smaller part prime.
; 0,0,0,0,1,2,4,6,8,10,13,16,19,22,26,30,34,38,42,46,50,54,59,64,69,74,80,86,92,98,104,110,116,122,129,136,143,150,158,166,174,182,190,198,206,214,223,232,241,250,259,268,277,286,295,304,... |
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0x48.log_21829_2003.asm | ljhsiun2/medusa | 9 | 55674 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0xfc4b, %r15
nop
and %r10, %r10
mov $0x6162636465666768, %r11
movq %r11, %xmm1
vmovups %ymm1, (%r15)
nop
nop
nop
dec %r15
lea addresses_A_ht+0x19a8b, %rsi
lea addresses_A_ht+0... |
audio/music/profoakspokemontalk.asm | Dev727/ancientplatinum | 28 | 55675 | Music_ProfOaksPokemonTalk:
musicheader 3, 1, Music_ProfOaksPokemonTalk_Ch1
musicheader 1, 2, Music_ProfOaksPokemonTalk_Ch2
musicheader 1, 3, Music_ProfOaksPokemonTalk_Ch3
db $3
Music_ProfOaksPokemonTalk_Ch1:
tempo 164
volume $77
stereopanning $f
vibrato $6, $25
dutycycle $1
notetype $c, $94
note __, 8
oct... |
src/shaders/post_processing/gen5_6/Core_Kernels/RGB_Scaling.asm | digetx/intel-vaapi-driver | 192 | 55676 | /*
* All Video Processing kernels
* Copyright © <2010>, Intel Corporation.
*
* 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 the Software without restriction, including
* without limitation the ri... |
programs/oeis/052/A052921.asm | neoneye/loda | 22 | 55678 | <reponame>neoneye/loda<filename>programs/oeis/052/A052921.asm
; A052921: Expansion of (1 - x)/(1 - 3*x + 2*x^2 - x^3).
; 1,2,4,9,21,49,114,265,616,1432,3329,7739,17991,41824,97229,226030,525456,1221537,2839729,6601569,15346786,35676949,82938844,192809420,448227521,1042002567,2422362079,5631308624,13091204281,3043335767... |
libtool/src/gmp-6.1.2/mpn/pa32/hppa1_1/addmul_1.asm | kroggen/aergo | 1,602 | 55679 | dnl HP-PA 1.1 mpn_addmul_1 -- Multiply a limb vector with a limb and add the
dnl result to a second limb vector.
dnl Copyright 1992-1994, 2000-2002 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 i... |
libsrc/_DEVELOPMENT/fcntl/z80/drivers/terminal/console_01/output/console_01_output_terminal_fzx/console_01_output_fzx_iterm_msg_bs.asm | meesokim/z88dk | 0 | 55680 | <filename>libsrc/_DEVELOPMENT/fcntl/z80/drivers/terminal/console_01/output/console_01_output_terminal_fzx/console_01_output_fzx_iterm_msg_bs.asm
SECTION code_fcntl
PUBLIC console_01_output_fzx_iterm_msg_bs
PUBLIC console_01_output_fzx_iterm_msg_bs_join
PUBLIC console_01_output_fzx_iterm_msg_bs_join_pwd
EXTERN asm_fz... |
programs/oeis/057/A057681.asm | neoneye/loda | 22 | 55681 | <filename>programs/oeis/057/A057681.asm
; A057681: a(n) = Sum_{j=0..floor(n/3)} (-1)^j*binomial(n,3*j).
; 1,1,1,0,-3,-9,-18,-27,-27,0,81,243,486,729,729,0,-2187,-6561,-13122,-19683,-19683,0,59049,177147,354294,531441,531441,0,-1594323,-4782969,-9565938,-14348907,-14348907,0,43046721,129140163,258280326,387420489,387420... |
Practical Exam/P29.a51 | pronoym99/Microcontrollers-and-Applications | 1 | 55684 | ORG 0000h
MOV DPTR,#2345h
MOVX A,@DPTR ; MOVE 1ST NUMBER INTO A FROM LOCATION 2345h
MOV B,A ; 1ST NUMBER MOVED INTO B
INC DPTR
MOVX A,@DPTR ; MOVE 2ND NUMBER INTO A FROM LOCATION 2346h
DIV AB ; DIVIDE TWO NUMBERS
INC DPTR
MOVX @DPTR,A ; LOWER BYTE OF RESULT IN LOCATION 2347H
INC DPTR
... |
lab5/Lab0005-1/calc_power.asm | Inscrupulous/MSP430 | 0 | 55686 | <gh_stars>0
;-------------------------------------------------------------------------------
; File: calc_power.asm (CPE 325 Lab 5)
; Function: Uses both SW_Mult and HW_Mult to return the two arrays
; Input: SW_Mult and HW_mult
; Output: base^n
; Author: <NAME>
; Date: 09/22/20
;---------------------------------... |
libsrc/_DEVELOPMENT/adt/p_forward_list/c/sccz80/p_forward_list_remove_callee.asm | jpoikela/z88dk | 640 | 55687 |
; void *p_forward_list_remove(p_forward_list_t *list, void *item)
SECTION code_clib
SECTION code_adt_p_forward_list
PUBLIC p_forward_list_remove_callee
EXTERN asm_p_forward_list_remove
p_forward_list_remove_callee:
pop hl
pop bc
ex (sp),hl
jp asm_p_forward_list_remove
; SDCC bridge for Classic
IF... |
programs/oeis/100/A100183.asm | karttu/loda | 0 | 55688 | <filename>programs/oeis/100/A100183.asm
; A100183: Structured hexagonal anti-prism numbers.
; 1,12,46,116,235,416,672,1016,1461,2020,2706,3532,4511,5656,6980,8496,10217,12156,14326,16740,19411,22352,25576,29096,32925,37076,41562,46396,51591,57160,63116,69472,76241,83436,91070,99156,107707,116736,126256,136280,146821,15... |
data/mapObjects/route18gateupstairs.asm | adhi-thirumala/EvoYellow | 16 | 55689 | Route18GateUpstairsObject:
db $a ; border block
db $1 ; warps
db $7, $7, $4, ROUTE_18_GATE_1F
db $2 ; signs
db $2, $1, $2 ; Route18GateUpstairsText2
db $2, $6, $3 ; Route18GateUpstairsText3
db $1 ; objects
object SPRITE_COOK, $4, $2, WALK, $2, $1 ; person
; warp-to
EVENT_DISP ROUTE_18_GATE_2F_WIDTH, $7, $... |
oeis/063/A063396.asm | neoneye/loda-programs | 11 | 55690 | <reponame>neoneye/loda-programs
; A063396: T(3,n) with T(n,m) as in A063394.
; 1,15,47,131,343,863,2111,5055,11903,27647,63487,144383,325631,729087,1622015,3588095,7897087,17301503,37748735,82051071,177733631,383778815,826277887,1774190591,3800039423,8120172543,17314086911,36842766335,78248935423,165893111807,351113576... |
Transynther/x86/_processed/AVXALIGN/_ht_st_zr_un_/i3-7100_9_0x84_notsx.log_21829_1732.asm | ljhsiun2/medusa | 9 | 55691 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1efdf, %rsi
lea addresses_normal_ht+0x6305, %rdi
nop
cmp %r15, %r15
mov $107, %rcx
rep movsq
nop
and $16173, %r9
lea addresses_D_ht+0xdbc5, %r15
sub $60471, %r13
mov $0x616263646566676... |
programs/oeis/107/A107767.asm | neoneye/loda | 22 | 55692 | ; A107767: a(n) = (1 + 3^n - 2*3^(n/2))/4 if n is even, (1 + 3^n - 4*3^((n-1)/2))/4 if n odd.
; 0,1,4,16,52,169,520,1600,4840,14641,44044,132496,397852,1194649,3585040,10758400,32278480,96845281,290545684,871666576,2615029252,7845176329,23535617560,70607118400,211821620920,635465659921,1906397776924,5719195722256,17157... |
oeis/266/A266677.asm | neoneye/loda-programs | 11 | 55693 | ; A266677: Alternating sum of hexagonal pyramidal numbers.
; Submitted by <NAME>
; 0,-1,6,-16,34,-61,100,-152,220,-305,410,-536,686,-861,1064,-1296,1560,-1857,2190,-2560,2970,-3421,3916,-4456,5044,-5681,6370,-7112,7910,-8765,9680,-10656,11696,-12801,13974,-15216,16530,-17917,19380,-20920,22540
lpb $0
mov $2,$0
seq... |
oeis/246/A246660.asm | neoneye/loda-programs | 11 | 55694 | <gh_stars>10-100
; A246660: Run Length Transform of factorials.
; Submitted by <NAME>(s3)
; 1,1,1,2,1,1,2,6,1,1,1,2,2,2,6,24,1,1,1,2,1,1,2,6,2,2,2,4,6,6,24,120,1,1,1,2,1,1,2,6,1,1,1,2,2,2,6,24,2,2,2,4,2,2,4,12,6,6,6,12,24,24,120,720,1,1,1,2,1,1,2,6,1,1,1,2,2,2,6,24,1,1,1,2,1,1,2,6,2,2,2,4,6,6,24,120,2,2,2,4
mov $1,1
m... |
programs/oeis/282/A282738.asm | neoneye/loda | 22 | 55695 | ; A282738: First differences of A282737.
; 1,2,1,4,1,5,1,6,1,7,1,8,1,9,1,10,1,11,1,12,1,13,1,14,1,15,1,16,1,17,1,18,1,19,1,20,1,21,1,22,1,23,1,24,1,25,1,26,1,27,1,28,1,29,1,30,1,31,1,32,1,33,1,34,1,35,1,36,1,37,1,38,1,39,1,40,1,41,1,42,1,43,1,44,1,45,1,46,1,47,1,48,1,49,1,50,1,51,1,52
mov $1,$0
add $1,3
dif $1,2
trn $... |
oeis/135/A135964.asm | neoneye/loda-programs | 11 | 55696 | <gh_stars>10-100
; A135964: a(n) = binomial(floor(n*sqrt(2)),n) for n>=0.
; 1,1,1,4,5,21,28,36,165,220,1001,1365,1820,8568,11628,54264,74613,346104,480700,657800,3108105,4292145,20160075,28048800,38567100,183579396,254186856,1203322288,1676056044,7898654920,11058116888,15338678264,73006209045,101766230790,482320623240,... |
libsrc/stdio/msx/getk.asm | andydansby/z88dk-mk2 | 1 | 55697 | ;
; MSX C Library
;
; getk() Read key status
;
; <NAME> - Apr. 2000
;
;
; $Id: getk.asm,v 1.6 2009/06/22 21:44:17 dom Exp $
;
XLIB getk
LIB fgetc_cons
LIB msxbios
IF FORmsx
INCLUDE "msxbios.def"
ELSE
INCLUDE "svibios.def"
ENDIF
.getk
ld ix,CHSNS
call msxbios
ret z ; exit if no key in ... |
oeis/141/A141987.asm | neoneye/loda-programs | 11 | 55699 | ; A141987: Primes congruent to 11 mod 29.
; Submitted by <NAME>
; 11,127,359,823,881,997,1171,1229,1693,1867,2099,2273,2389,2447,2621,2969,3259,3433,3491,3607,4013,4129,4651,4999,5231,5347,5521,5869,5927,6043,6101,6217,6449,6971,7841,8363,8537,9001,9059,9349,9697,9871,9929,10103,10567,10799,10973,11321,11437,11959,1253... |
vp8/common/arm/armv6/simpleloopfilter_v6.asm | golden1232004/libvpx | 83 | 55700 | ;
; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing proje... |
text/maps/safari_zone_center.asm | adhi-thirumala/EvoYellow | 16 | 55701 | _SafariZoneCenterText2::
text "REST HOUSE"
done
_SafariZoneCenterText3::
text "TRAINER TIPS"
para "Press the START"
line "Button to check"
cont "remaining time!"
done
|
test/aouttest.asm | bitwiseworks/nasm-os2 | 3 | 55703 | <reponame>bitwiseworks/nasm-os2
;Testname=unoptimized; Arguments=-O0 -faout -oaouttest.o; Files=stdout stderr aouttest.o
;Testname=optimized; Arguments=-Ox -faout -oaouttest.o; Files=stdout stderr aouttest.o
; test source file for assembling to a.out
; build with:
; nasm -f aout aouttest.asm
; gcc -o aou... |
runtime/sources/arm/aeabi_fcmpeq.asm | wdv4758h/Yeppp- | 30 | 55704 | <filename>runtime/sources/arm/aeabi_fcmpeq.asm
/*
* Yeppp! library runtime infrastructure
*
* This file is part of Yeppp! library and licensed under MIT license.
* See runtime/LICENSE.txt for details.
*
*/
.include "common.inc"
.syntax unified
BEGIN_ARM_FUNCTION __aeabi_fcmpeq
MOV r... |
CSE 341 Microprocessors/Lab 6/Lab 6.asm | iamraufu/BRACU | 12 | 55706 | <reponame>iamraufu/BRACU
;Task 1
.model small
.stack 100h
.data
msg db 10, 13, "Enter your name $ "
bufferSize db 21 ; 20 char + RETURN
inputLength db 0 ; number of read characters
buffer db 21 DUP("$") ; actual buffer
.code
main proc
mov ax, @data
mov ds, ax
lea dx, msg
mov ah, 09h ;... |
programs/oeis/003/A003539.asm | neoneye/loda | 22 | 55708 | <gh_stars>10-100
; A003539: a(n)=3*a(n-1)+16 (the first 11 terms are primes).
; 587,1777,5347,16057,48187,144577,433747,1301257,3903787,11711377,35134147,105402457,316207387,948622177,2845866547,8537599657,25612798987,76838396977,230515190947,691545572857
mov $1,3
pow $1,$0
div $1,2
mul $1,1190
add $1,587
mov $0,$1
|
boot/b32/32bit-print.asm | Drip-startup/pidi-os | 41 | 55709 | [bits 32]
VIDEO_MEMORY equ 0xb8000
WHITE_ON_BLACK equ 0x0f
print_string_pm:
pusha
mov edx, VIDEO_MEMORY
print_string_pm_loop:
mov al, [ebx] ; [ebx] is the address of our character
mov ah, WHITE_ON_BLACK
cmp al, 0 ; check if end of string
je print_string_pm_done
mov [edx], ax ; store ch... |
src/ramcode/ramcode.asm | BlockoS/up-17 | 3 | 55710 | <gh_stars>1-10
.include "../../include/config.inc"
mul_tbl = $fa00
sin_tbl = $fc00
cos_tbl = $fc40
.bank 0
.org transform_points
ramcode_begin:
.include "transform.asm"
ramcode_end:
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.