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 |
|---|---|---|---|---|
libsrc/_DEVELOPMENT/arch/sms/vram/c/sccz80/sms_copy_mem_to_vram_callee.asm | jpoikela/z88dk | 640 | 203071 | ; void sms_copy_mem_to_vram(void *src, unsigned int n)
SECTION code_clib
SECTION code_crt_common
PUBLIC sms_copy_mem_to_vram_callee
EXTERN asm_sms_copy_mem_to_vram
sms_copy_mem_to_vram_callee:
pop hl
pop bc
ex (sp),hl
jp asm_sms_copy_mem_to_vram
|
project/ntstub/amd64/6_0_6001_sp1_ssdt_sysenter.asm | mehrdad-shokri/windows-syscall-table | 372 | 203072 | <gh_stars>100-1000
; DO NOT MODIFY THIS FILE DIRECTLY!
; author: @TinySecEx
; ssdt asm stub for 6.0.6001-sp1-windows-vista amd64
option casemap:none
option prologue:none
option epilogue:none
.code
; ULONG64 __stdcall NtMapUserPhysicalPagesScatter( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-8650U_0xd2.log_200_479.asm | ljhsiun2/medusa | 9 | 203073 | .global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x12e34, %rbx
nop
nop
xor %r8, %r8
movw $0x6162, (%rbx)
nop
add %r15, %r15
lea addresses_A_ht+0x137f4, %rdx
nop
nop
nop
dec %r15
mov $0x6162636465666768, %rcx
movq %rcx, %xmm5
m... |
dino/lcs/enemy/B0.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 203074 | <filename>dino/lcs/enemy/B0.asm
copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
004D38 move.l D0, (A4)+
004D3A move.l D0, (A4)+
034648 clr.b ($b0,A6)
03464C movea.w ($76,A6), A0 [enemy+B0]
035DD2 move.l #$fffee000, ($b0,A6)
035DDA bra $35de6... |
oeis/257/A257240.asm | neoneye/loda-programs | 11 | 203075 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A257240: Decimal expansion of the real root of x^3 - 3*x - 10.
; Submitted by <NAME>
; 2,6,1,2,8,8,7,8,6,4,7,1,7,5,4,4,7,5,4,4,0,7,2,4,9,9,3,8,6,2,9,7,6,2,9,1,2,8,7,5,7,7,1,2,8,4,8,0,6,3,2,8,1,7,2,3,0,2,7,0,0,5,1,8,2,1,0,1,8,3,5,8,4,9,1,1,2,5,7,3,6,3,4,4,2,2,7,1,1,3,9,6... |
util/gut/fclos.asm | olifink/smsqe | 0 | 203076 | * File utilities v0.00 Apr 1988 J.R.Oakley QJUMP
*
section gen_util
*
include 'dev8_keys_qdos_ioa'
*
xdef gu_fclos
*+++
* Close a file, preserving all registers and returning the CCR corresponding
* to the value of D0.
*
* Registers:
* Entry ... |
bios/console.asm | p-durlej/dosbios | 4 | 203078 | ; Copyright (c) <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:
;
; 1. Redistributions of source code must retain the above copyright notice,
; this list of conditions and the following dis... |
kernel/io/portio/portio.asm | kodo-pp/klosy-reloaded | 2 | 203079 | %include "asmdefs.inc.asm"
section .text
global inb, inw, inl, outb, outw, outl
outb:
push ebp
mov ebp, esp
mov edx, load_arg(0) ; dx is port
mov eax, load_arg(1) ; al is value
out dx, al
mov esp, ebp
pop ebp
ret
outw:
push ebp
mov ebp, esp
mov edx, load_arg(0) ; dx is ... |
tests/test9bg.asm | dasien/mfc6502 | 0 | 203080 | ; Testing pesudo op codes, multiple pc resets and labels
.org $1000
LDA #01
STA $01
LDA TEST
STA $02
ADC $01
STA $03
.org $2000
.byte $0d, $0a, $00
.ascii "WWWWWWWWWWWWWWWWBBBBBBBBBBBBBBBBWWWWWWWWWWWWWWWW"
.byte "KQCCBBRRPPPPPPPPKQCCBBRRPPPPPPPP"
TEST: .byte $FF
|
data/battle_anims/oam.asm | Dev727/ancientplatinum | 28 | 203081 | BattleAnimOAMData:
; entries correspond to BATTLEANIMOAMSET_* constants
; vtile offset, data length, data pointer
dbbw $00, 16, .OAMData_00 ; BATTLEANIMOAMSET_00
dbbw $04, 9, .OAMData_01 ; BATTLEANIMOAMSET_01
dbbw $08, 4, .OAMData_02 ; BATTLEANIMOAMSET_02
dbbw $09, 4, .OAMData_03 ; BATTLEANIMOAMSET_03
dbbw $0d... |
oeis/082/A082787.asm | neoneye/loda-programs | 11 | 203082 | <gh_stars>10-100
; A082787: (2/3)*(2*n-1)!*binomial(3*n,2*n).
; Submitted by <NAME>
; 2,60,6720,1663200,726485760,494010316800,482718652416000,641171050071552000,1111363153457356800000,2436552577639909048320000,6591982246414881207091200000,21572261901392698750205952000000,83992431415453295380032651264000000,38372542238... |
programs/oeis/163/A163372.asm | neoneye/loda | 22 | 203083 | <filename>programs/oeis/163/A163372.asm
; A163372: a(n) = sigma(phi(sigma(n))).
; 1,3,3,12,3,7,7,15,28,12,7,28,12,15,15,72,12,60,15,28,31,28,15,31,72,28,31,60,15,60,31,91,31,39,31,195,39,31,60,60,28,63,42,60,60,60,31,168,91,168,60,96,39,63,60,63,63,60,31,124,72,63,124,312,60,124,63,91,63,124,60,252,91,91,168,124,63,124... |
Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2_notsx.log_4_214.asm | ljhsiun2/medusa | 9 | 203084 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x14e74, %rsi
lea addresses_UC_ht+0x779a, %rdi
nop
nop
nop
nop
nop
inc %r12
mov $44, %rcx
rep movsb
nop
nop
nop
xor %rcx, %rcx
lea addresses_A_ht+0x1d8b8, %r10
nop
nop
cmp $21426, %r14
m... |
oeis/053/A053573.asm | neoneye/loda-programs | 11 | 203085 | <filename>oeis/053/A053573.asm
; A053573: a(n) = 5*a(n-1) + 14*a(n-2), a(0)=1, a(1)=5.
; Submitted by <NAME>(s1)
; 1,5,39,265,1871,13065,91519,640505,4483791,31386025,219703199,1537920345,10765446511,75358117385,527506838079,3692547833785,25847834902031,180934844183145,1266543909544159,8865807366284825,6206065156504235... |
common/pixel_addr_320_200_4color.asm | c64scene-ar/64k-ought-to-be-enough | 4 | 203086 | ;=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-;
;
; Name: PixelAddr04
;
; Function: Determine buffer address of pixel in 320x200 4-color mode
;
; Caller: AX = y-coordinate (0-199)
; BX = x-coordinate (0-319)
;
; Returns: AH = bit mask
; BX = byte offset in buffer
; ... |
oeis/171/A171656.asm | neoneye/loda-programs | 11 | 203087 | ; A171656: 10^n*(7+3*10^n)+3.
; Submitted by <NAME>(s2)
; 13,373,30703,3007003,300070003,30000700003,3000007000003,300000070000003,30000000700000003,3000000007000000003,300000000070000000003,30000000000700000000003,3000000000007000000000003,300000000000070000000000003,30000000000000700000000000003
mov $1,10
pow $1,$0
... |
VolumeCalculator/program.asm | techwiz24/EECS2110 | 0 | 203088 | ; <NAME>
; EECS 2110 - Computer Architecture and Organization
; Spring 2016 at the University of Toledo
;
; Description: Given the length, width, and height in feet and inches,
; calculate the volume in cubic feet and inches or total
; cubic inches
;
; ========================================================... |
oeis/228/A228372.asm | neoneye/loda-programs | 11 | 203090 | ; A228372: Number of nontrivial divisors in the first n composites.
; 1,3,5,6,8,12,14,16,19,23,27,29,31,37,38,40,42,46,52,56,58,60,62,69,71,73,79,85,89,93,95,103,104,108,110,114,120,122,128,130,132,142,144,148,153,155,161,165,167,173,183,185,189,193,195,201,209,212,214,224,226,228,230,236,246,248,252,254,256,258,268,27... |
Aurora/Aurora/x64/Debug/sysproc.asm | manaskamal/aurora-xeneva | 8 | 203091 | <gh_stars>1-10
; Listing generated by Microsoft (R) Optimizing Compiler Version 17.00.50727.1
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
PUBLIC ?create__sys_process@@YAHPEBDPEAD@Z ; create__sys_process
PUBLIC ?sys_exit@@YAXXZ ; sys_exit
PUBLIC ?sys_kill@@YAXHH@Z ; sys_kill
PUBLIC ?sys_set_sign... |
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xca.log_21829_414.asm | ljhsiun2/medusa | 9 | 203092 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x11dac, %r15
clflush (%r15)
nop
nop
xor $6082, %r14
and $0xffffffffffffffc0, %r15
vmovaps (%r15), %ymm6
vextracti128 $1, %ymm6, %xmm6
vpextrq $0, %x... |
programs/oeis/004/A004950.asm | neoneye/loda | 22 | 203093 | <gh_stars>10-100
; A004950: Nearest integer to n*phi^15, where phi is the golden ratio, A001622.
; 0,1364,2728,4092,5456,6820,8184,9548,10912,12276,13640,15004,16368,17732,19096,20460,21824,23188,24552,25916,27280,28644,30008,31372,32736,34100,35464,36828,38192,39556,40920,42284,43648,45012,46376,47740,49104,50468,5183... |
08/FunctionCalls/StaticsTest/StaticsTest.asm | DarkCleopas/vm-translator | 0 | 203094 | @256
D=A
@SP
M=D
@Sys.init_RETURN_0 // call Sys.init 0
D=A
@SP
A=M
M=D
@SP
M=M+1
@LCL
D=M
@SP
A=M
M=D
@SP
M=M+1
@ARG
D=M
@SP
A=M
M=D
@SP
M=M+1
@THIS
D=M
@SP
A=M
M=D
@SP
M=M+1
@THAT
D=M
@SP
A=M
M=D
@SP
M=M+1
@0
D=A
@5
D=D+A
@SP
D=M-D
@ARG
M=D
@SP
D=M
@LCL
M=D
@Sys.init
0;JMP
(Sys.init_RETURN_0)
(Sys.init)// initializate... |
oeis/021/A021842.asm | neoneye/loda-programs | 11 | 203095 | ; A021842: Decimal expansion of 1/838.
; Submitted by Jon Maiga
; 0,0,1,1,9,3,3,1,7,4,2,2,4,3,4,3,6,7,5,4,1,7,6,6,1,0,9,7,8,5,2,0,2,8,6,3,9,6,1,8,1,3,8,4,2,4,8,2,1,0,0,2,3,8,6,6,3,4,8,4,4,8,6,8,7,3,5,0,8,3,5,3,2,2,1,9,5,7,0,4,0,5,7,2,7,9,2,3,6,2,7,6,8,4,9,6,4,2,0
seq $0,199685 ; a(n) = 5*10^n+1.
div $0,419
mod $0,10
|
programs/oeis/060/A060068.asm | neoneye/loda | 22 | 203096 | <filename>programs/oeis/060/A060068.asm
; A060068: Divide n! by largest power of n which will leave the result an integer.
; 1,1,2,6,24,20,720,630,4480,36288,3628800,1925,479001600,444787200,387459072,5108103000,20922789888000,60988928000,6402373705728000,15205637551104,5516784599040000,2322315553259520000
add $0,1
mo... |
programs/oeis/318/A318666.asm | karttu/loda | 0 | 203097 | <filename>programs/oeis/318/A318666.asm
; A318666: a(n) = 2^{the 3-adic valuation of n}.
; 1,1,2,1,1,2,1,1,4,1,1,2,1,1,2,1,1,4,1,1,2,1,1,2,1,1,8,1,1,2,1,1,2,1,1,4,1,1,2,1,1,2,1,1,4,1,1,2,1,1,2,1,1,8,1,1,2,1,1,2,1,1,4,1,1,2,1,1,2,1,1,4,1,1,2,1,1,2,1,1,16,1,1,2,1,1,2,1,1,4,1,1,2,1,1,2,1,1,4,1,1,2,1,1,2,1,1,8,1,1,2,1,1,2,... |
Program02/Prog02.asm | jasarsoft/asm-example | 1 | 203098 | ;Zadatak 2: Na monitoru u 7. redu i 13. koloni treba ispisati slovo X
Prog02 Segment ;definija segmenta
assume CS:Prog02, DS:Prog02 ;pocetak CS i DS segmenta
Start: mov ax, Prog02 ;pocetak na DS
mov ds, ax
mov ds, ax
mov... |
programs/quake/q1source/QW/client/d_polysa.asm | chaos4ever/chaos-old | 0 | 203100 | .386P
.model FLAT
externdef _d_zistepu:dword
externdef _d_pzbuffer:dword
externdef _d_zistepv:dword
externdef _d_zrowbytes:dword
externdef _d_ziorigin:dword
externdef _r_turb_s:dword
externdef _r_turb_t:dword
externdef _r_turb_pdest:dword
externdef _r_turb_spancount:dword
externdef _r_turb_turb:d... |
programs/oeis/055/A055483.asm | neoneye/loda | 22 | 203101 | <reponame>neoneye/loda
; A055483: a(n) = GCD of n and the reverse of n.
; 1,2,3,4,5,6,7,8,9,1,11,3,1,1,3,1,1,9,1,2,3,22,1,6,1,2,9,2,1,3,1,1,33,1,1,9,1,1,3,4,1,6,1,44,9,2,1,12,1,5,3,1,1,9,55,1,3,1,1,6,1,2,9,2,1,66,1,2,3,7,1,9,1,1,3,1,77,3,1,8,9,2,1,12,1,2,3,88,1,9,1,1,3,1,1,3,1,1,99,1
add $0,1
mov $1,$0
seq $1,4086 ; R... |
tests/gcd.asm | jacobbieker/MIPS-In-C | 1 | 203102 | ##############################################
# Fall 2015, CIS 314 Computer Organization #
# Major Class Project #
##############################################
# Greatest Common Divider
# int gcd (int a, int b)
# {
# while (a != b){
# if (a > b) a-=b;
# else b-= a;
# }
# return a;... |
programs/oeis/268/A268488.asm | karttu/loda | 1 | 203103 | ; A268488: Least number k of the form k = n*(k % 10) + [k / 10], where k % 10 = last digit of k, [k / 10] = k without its last digit.
; 1,19,29,13,49,59,23,79,89,11,109,119,43,139,149,53,169,179,21,199,209,73,229,239,83,259,269,31,289,299,103,319,329,113,349,359,41,379,389,133,409,419,143,439,449,51,469,479,163,499,509... |
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xca.log_21829_652.asm | ljhsiun2/medusa | 9 | 203105 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x17106, %rbp
nop
nop
nop
xor %rcx, %rcx
mov (%rbp), %rdi
nop
inc %r13
lea addresses_normal_ht+0x5dd3, %rsi
lea addresses_normal_ht+0x15c9e, %rdi
nop
nop
and %rax, %rax
mov $92, %rcx
rep... |
lab01/xv6-master/stressfs.asm | ahchu1993/opsys | 0 | 203106 | <filename>lab01/xv6-master/stressfs.asm
_stressfs: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "fs.h"
#include "fcntl.h"
int
main(int argc, char *argv[])
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and ... |
main/main.asm | Turboxray/VDC_display_latch_test | 0 | 203107 |
;
; {Assemble with PCEAS: ver 3.23 or higher}
;
; Turboxray '21
;
;..............................................................................................................
;..............................................................................................................
;............ |
AGSP_fromACMEtoKickAssembler_locatedAtCODEBASE64.asm | chris73it/C64_AGSP_fromACMEtoKickAssembler_atCODEBASE64_PAL | 1 | 203108 | <filename>AGSP_fromACMEtoKickAssembler_locatedAtCODEBASE64.asm
//This demonstrates AGSP (any given screen position). This uses HSP (Horizontal Screen Positioning)
//(DMA delay) with a stable raster plus a line crunch to scroll the screen vertically to any position.
//Use a joystick in port two to move the screen ar... |
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0_notsx.log_21829_1402.asm | ljhsiun2/medusa | 9 | 203109 | <filename>Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0_notsx.log_21829_1402.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r8
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0xc68f, %rsi
lea addresses_A_ht+0x1b4db, %rdi
nop
nop
nop
nop
nop
add %rbp, %rbp
mov... |
PRG/objects/W8HTrapE.asm | narfman0/smb3_pp1 | 0 | 203110 | <reponame>narfman0/smb3_pp1<gh_stars>0
.byte $01 ; Unknown purpose
.byte OBJ_TREASURESET, $0C, $03
.byte OBJ_TREASUREBOX, $0D, $15
.byte OBJ_TREASUREBOXAPPEAR, $0E, $15
.byte $FF ; Terminator
|
test_row.asm | phung001/xv6_lab2_mark | 0 | 203111 |
_test_row: file format elf32-i386
Disassembly of section .text:
00000000 <RowBoat>:
void MissionaryArrives(void *arg_ptr);
void CannibalArrives(void *arg_ptr);
void RowBoat() {
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 18 sub $0x18,%esp
... |
oeis/174/A174931.asm | neoneye/loda-programs | 11 | 203113 | <reponame>neoneye/loda-programs
; A174931: Half of the digital sum of base 3 representations of 2^n.
; Submitted by <NAME>
; 1,1,2,2,2,2,3,2,4,4,5,5,4,5,8,6,7,6,8,7,9,8,6,5,6,7,10,10,11,12,13,12,11,11,11,9,10,13,14,14,14,13,15,15,15,13,13,13,16,19,20,19,19,14,17,20,21,19,20,23,20,19,21,24,22,21,20,21,24,24,22,21,23,22,... |
0.PARTE-I/A2.EX7-6.057-7SeG/AULA.asm | ronchifabricio/progparamicroprocessadores | 2 | 203114 |
_main:
;AULA.c,26 :: void main() { // ABRE FUNCAO PRINCIPAL: MAIN
;AULA.c,27 :: ADCON1 = 0x06; // CONFIGURA ENTRADAS AN COMO E/S DIGITAIS
MOVLW 6
MOVWF ADCON1+0
;AULA.c,28 :: CMCON = 7; // DESLIGA COMPARADORES
MOVLW 7
MOVWF CMCON+0
;AULA.c,30 :: TRISA ... |
kernel/arch/call.asm | nop-os/nop | 9 | 203115 | <gh_stars>1-10
global call_switch
call_switch:
mov eax, [esp + 4]
mov ecx, [esp + 8]
mov esi, cr3
mov cr3, ecx
mov dword [eax + 4], .return
mov [eax + 28], esi
mov [eax + 32], esp
mov esp, eax
ret
.return:
add esp, 0x14
mov edx, eax
pop ecx
pop eax
mov cr3, ecx
mov esp, eax
mov eax, edx... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_2030.asm | ljhsiun2/medusa | 9 | 203116 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %r8
push %rbx
push %rdx
push %rsi
lea addresses_D_ht+0x11f5e, %r14
nop
nop
nop
nop
xor $46389, %rbx
mov (%r14), %rsi
nop
xor %r12, %r12
lea addresses_WT_ht+0x45e4, %r15
nop
nop
nop
nop
xor %rdx, %rdx
mov $0x6162636465666768, %r8
movq %r8, %... |
oeis/089/A089953.asm | neoneye/loda-programs | 11 | 203117 | ; A089953: Numbers n such that 3*n+7 is prime.
; Submitted by <NAME>
; 0,2,4,8,10,12,18,20,22,24,30,32,34,40,44,48,50,52,58,62,64,68,72,74,78,88,90,92,100,102,108,110,114,120,122,124,130,134,138,142,144,150,152,160,164,172,178,180,188,190,198,200,202,204,208,212,218,222,228,234,240,242,244,248,250,254,260,268,272,274,2... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_461.asm | ljhsiun2/medusa | 9 | 203120 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1669d, %r9
nop
sub %r15, %r15
mov (%r9), %r12d
nop
nop
nop
nop
nop
inc %rsi
lea addresses_normal_ht+0x829d, %r14
nop
nop
nop
nop
sub %rcx, %rcx
movb $0x61, (%r14)
nop
nop
nop
... |
src/boot.asm | dysoco/viloni | 0 | 203121 | <reponame>dysoco/viloni<filename>src/boot.asm
extern GDT_DESC
; Multiboot header
MBALIGN equ 1<<0
MEMINFO equ 1<<1
FLAGS equ MBALIGN | MEMINFO
MAGIC equ 0x1BADB002
CHECKSUM equ -(MAGIC+FLAGS)
section .multiboot
align 4
dd MAGIC
dd FLAGS
dd CHECKSUM
section .bss
align 16
stack_botto... |
Examples/database/mysqlclientinfo.asm | agguro/linux-nasm | 6 | 203122 | <reponame>agguro/linux-nasm<filename>Examples/database/mysqlclientinfo.asm
;name: mysqlclientinfo.asm
;
;build: nasm -felf64 mysqlclientinfo.asm -o mysqlclientinfo.o
; ld -melf_x86_64 -o mysqlclientinfo mysqlclientinfo.o -lc --dynamic-linker /lib64/ld-linux-x86-64.so.2 -lmysqlclient
;
;description: display MySQL ... |
Expt9/LCM.asm | warrenferns/Microprocessor-MU-Sem4 | 1 | 203123 | DATA SEGMENT
NUM DW 05,04
LCM DW 2 DUP(0)
DATA ENDS
CODE SEGMENT
ASSUME CS:CODE,DS:DATA
START: MOV AX,DATA
MOV DS,AX
MOV DX,0H
MOV AX,NUM
MOV BX,NUM+2
UP: PUSH AX
PUSH DX
DIV BX
CMP DX,0
JE EXIT
POP DX
POP AX
ADD AX,NUM
JNC DOWN
INC DX
DOWN: JMP UP
EXIT: POP LCM+2
POP LCM
MOV... |
oeis/252/A252004.asm | neoneye/loda-programs | 11 | 203124 | <filename>oeis/252/A252004.asm
; A252004: Numbers n such that the sum of the pentagonal numbers P(n) and P(n+1) is equal to the sum of the octagonal numbers N(m) and N(m+1) for some m.
; Submitted by <NAME>
; 328,378896,437246040,504581551648,582286673356136,671958316471429680,775439314921356494968,89485629746092892376... |
libsrc/graphics/retrofit/undrawb_callee.asm | ahjelm/z88dk | 640 | 203125 | ;
; Generic trick to adapt a classic function to the CALLEE mode
;
; ----- void __CALLEE__ undrawb(int x, int y, int x2, int y2)
;
;
; $Id: undrawb_callee.asm $
;
SECTION smc_clib
PUBLIC undrawb_callee
PUBLIC _undrawb_callee
EXTERN undrawb
.undrawb_callee
._undrawb_callee
ld hl,retaddr
ex (sp),hl
ld (retad... |
programs/oeis/054/A054623.asm | karttu/loda | 1 | 203127 | ; A054623: Number of ways to color vertices of a 9-gon using <= n colors, allowing only rotations.
; 0,1,60,2195,29144,217045,1119796,4483815,14913200,43046889,111111340,261994491,573309320,1178278205,2295672484,4271485135,7635498336,13176431825,22039922460,35854190179,56888890680,88253340581,134141026580,200128076215,... |
Asmt6/Asmt6_1.asm | wstern1234/COMSC-260 | 0 | 203131 | ; Asmt6_1.asm - Write a sequence of instructions that shift three memory bytes to the right by 1 bit position.
INCLUDE Irvine32.inc
.data
byteArray BYTE 81h,20h,33h
.code
main PROC
shr [byteArray + 2], 1
rcr [byteArray + 1], 1
rcr [byteArray], 1
INVOKE ExitProcess, 0
main ENDP
END main |
tests/syntax_test_6809_mnemonics.asm | dougmasten/dougmasten-sublime-assembly-6809 | 5 | 203132 | <gh_stars>1-10
# SYNTAX TEST "Packages/Assembly-6809/Assembly-6809.sublime-syntax"
# <- source.mc6809
; Mnemonics available on Motorola 6809 and Hitachi 6309 CPUs
opt 6809
IMM8 equ $12
IMM16 equ $3456
EXT equ $abcd
start equ *+100
;--------------------------------------------------------------------
... |
x86/src/64/dynlibs.asm | sneakin/north | 2 | 203133 | <filename>x86/src/64/dynlibs.asm
%ifdef DYNAMIC
%ifidni PLATFORM,windows
defc dlopen,1,1,LoadLibraryA
defc dlsym,2,1,GetProcAddress
defc dlclose,1,0,FreeLibrary
%else
defc dlopen,2,1
defc dlclose,1,0
defc dlsym,2,1
%endif
%endif
|
test/preprocessor.asm | travisg/cpu | 5 | 203136 | #define CONST 99
#define MACRO(x) \
li r0, #x \
add r0, r0, #1
label:
li r0, #CONST
#if 0
shouldfail
#endif
MACRO(1)
MACRO(2)
|
wc.asm | ray5273/os_project4 | 0 | 203137 |
_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 28 sub $0x28,%esp
int i, n;
int l, w, c, inword;
l = w = c = 0;
6: c7... |
pwnlib/shellcraft/templates/thumb/android/nanosleep.asm | zaratec/pwntools | 5 | 203138 |
<%
from pwnlib.shellcraft.aarch64.linux import syscall
%>
<%page args="requested_time, remaining"/>
<%docstring>
Invokes the syscall nanosleep. See 'man 2 nanosleep' for more information.
Arguments:
requested_time(timespec): requested_time
remaining(timespec): remaining
</%docstring>
${syscall('SYS_... |
Transynther/x86/_processed/NONE/_ht_zr_/i3-7100_9_0xca_notsx.log_509_1863.asm | ljhsiun2/medusa | 9 | 203139 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1b029, %rsi
lea addresses_normal_ht+0x172f1, %rdi
clflush (%rsi)
nop
nop
nop
nop
xor $3847, %r10
mov $4, %rcx
rep movsb
nop
nop
nop
nop
xor $2529, %rsi
lea addresses_UC_ht+0... |
videocodec/libvpx_internal/libvpx/vp9/common/x86/vp9_subpixel_8t_sse2.asm | Omegaphora/hardware_intel_common_omx-components | 49 | 203143 | ;
; 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... |
patches/koala/loader/disasm/koala_boot_block_1.asm | fcatrin/a8tools | 3 | 203144 | <reponame>fcatrin/a8tools<filename>patches/koala/loader/disasm/koala_boot_block_1.asm<gh_stars>1-10
; BLOCK 1 koala_boot.xex
org $0700
/* 0700: 60 */ .byte $60, $20, $20, $20, $62, $79, $20, $20
/* 0708: 52 */ .byte $52, $61, $67, $6D, $61, $6E, $20, $... |
oeis/142/A142020.asm | neoneye/loda-programs | 11 | 203145 | <filename>oeis/142/A142020.asm
; A142020: Primes congruent to 16 mod 31.
; Submitted by <NAME>
; 47,109,233,419,853,977,1039,1163,1597,1721,1783,1907,2341,2713,2837,3023,3209,3271,3457,3581,3643,3767,4139,4201,4759,5441,5503,5689,5813,6247,6619,6991,7177,7487,7549,7673,8231,8293,9161,9533,9719,9781,9967,10091,10463,107... |
labs/lab3/lab03A/lab03A/main.asm | stanley-jc/COMP2121 | 2 | 203146 | <gh_stars>1-10
;
; lab03A.asm
;
; Created: 2017/9/13 14:24:50
; Author : <NAME>
;
; Replace with your application code
.include "m2560def.inc"
.def temp = r16
.def result = r17
.equ PATTERN1 = 0x00
.equ PATTERN2 = 0b00001111
.def i = r21
.def j = r18
.def k = r19
.def n = r20
ldi resu... |
engine/battle/core.asm | longlostsoul/EvoYellow | 16 | 203147 | BattleCore:
; These are move effects (second value from the Moves table in bank $E).
ResidualEffects1:
; most non-side effects
db CONVERSION_EFFECT
db HAZE_EFFECT
db SWITCH_AND_TELEPORT_EFFECT
db MIST_EFFECT
db FOCUS_ENERGY_EFFECT
db CONFUSION_EFFECT
db HEAL_EFFECT
db TRANSFORM_EFFECT
db LIGHT_SCREEN_EFFECT
... |
libsrc/sprites/software/sp1/zx81hr/sprites/sp1_AddColSpr_callee.asm | andydansby/z88dk-mk2 | 1 | 203148 | <filename>libsrc/sprites/software/sp1/zx81hr/sprites/sp1_AddColSpr_callee.asm
; uint __CALLEE__ sp1_AddColSpr_callee(struct sp1_ss *s, void *drawf, uchar type, int graphic, uchar plane)
; 02.2008 aralbrec, Sprite Pack v3.0
; zx81 hi-res version
XLIB sp1_AddColSpr_callee
XDEF ASMDISP_SP1_ADDCOLSPR_CALLEE
LIB _sp1_stru... |
Contributors/Bhakti Rathod/hello_world.asm | xOluwaseyi/Hello-world | 17 | 203152 | Live Demo
section .text
global _start ;must be declared for linker (ld)
_start: ;tells linker entry point
mov edx,len ;message length
mov ecx,msg ;message to write
mov ebx,1 ;file descriptor (stdout)
mov eax,4 ;system call number (sys_write)
int 0x80 ... |
rcounter.asm | shoaibvijapure/Modified-xv6-MIT-Operating-System | 0 | 203153 | <filename>rcounter.asm
_rcounter: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "types.h"
#include "stat.h"
#include "user.h"
int main(void) {
0: f3 0f 1e fb endbr32
4: 8d 4c 24 04 lea 0x4(%esp),%ecx
8: 83 e4 f0 and $0xfffffff0,... |
oeis/090/A090080.asm | neoneye/loda-programs | 11 | 203154 | <filename>oeis/090/A090080.asm<gh_stars>10-100
; A090080: In binary expansion of n-th prime: reduce contiguous blocks of 0's to 0 and contiguous blocks of 1's to 1.
; Submitted by <NAME>
; 2,1,5,1,5,5,5,5,5,5,1,21,21,21,5,21,5,5,5,5,21,5,21,21,5,21,5,21,21,5,1,5,21,21,85,21,21,21,21,85,21,85,5,5,21,5,21,5,5,21,21,5,5,5... |
SoundEngine/DemoSource/song_silver_surfer_asm6.asm | jroweboy/FamiStudio | 0 | 203156 | ;this file for FamiStudio Sound Engine generated by FamiStudio
silver_surfer_c_stephen_ruddy_music_data:
db 1
dw @instruments
dw @samples-3
dw @song0ch0,@song0ch1,@song0ch2,@song0ch3,@song0ch4
db <(@tempo_env_6_mid), >(@tempo_env_6_mid), 0, 0
@instruments:
dw @env59,@env38,@env34,@env31
dw @env50,@e... |
programs/oeis/146/A146501.asm | karttu/loda | 0 | 203157 | <filename>programs/oeis/146/A146501.asm
; A146501: Period 6: 4,8,7,5,1,2.
; 4,8,7,5,1,2,4,8,7,5,1,2,4,8,7,5,1,2,4,8,7,5,1,2,4,8,7,5,1,2,4,8,7,5,1,2,4,8,7,5,1,2,4,8,7,5,1,2,4,8,7,5,1,2,4,8,7,5,1,2,4,8,7,5,1,2,4,8,7,5,1,2,4,8,7,5,1,2,4,8,7,5,1,2,4,8,7,5,1,2,4,8,7,5,1,2,4,8,7,5,1,2
mov $1,4
mov $2,$0
lpb $2,1
mul $1,2
... |
libsrc/_DEVELOPMENT/math/float/math32/z80/f32_z180_mulu_32h_32x32.asm | jpoikela/z88dk | 0 | 203158 | ;
; feilipu, 2019 April
;
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;
;------------------------------------------------------------------------------
;
; multi... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_7_1750.asm | ljhsiun2/medusa | 9 | 203159 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x11993, %rsi
lea addresses_normal_ht+0x1c185, %rdi
clflush (%rsi)
nop
nop
nop
nop
nop
inc %r10
mov $72, %rcx
rep movsl
nop
nop
nop
nop
xor %r9, %r9
lea address... |
oeis/030/A030930.asm | neoneye/loda-programs | 11 | 203161 | ; A030930: [ exp(4/13)*n! ].
; Submitted by <NAME>
; 1,2,8,32,163,979,6855,54846,493619,4936192,54298119,651577434,8470506649,118587093099,1778806396487,28460902343804,483835339844681,8709036117204266,165471686226881068,3309433724537621368
add $0,1
mov $2,1
lpb $0
mul $1,8
mul $2,$0
sub $0,1
add $1,2
div $1,... |
data/baseStats/psyduck.asm | longlostsoul/EvoYellow | 16 | 203162 | db DEX_PSYDUCK ; pokedex id
db 50 ; base hp
db 52 ; base attack
db 48 ; base defense
db 55 ; base speed
db 50 ; base special
db WATER ; species type 1
db WATER ; species type 2
db 190 ; catch rate
db 80 ; base exp yield
INCBIN "pic/ymon/psyduck.pic",0,1 ; 55, sprite dimensions
dw PsyduckPicFront
dw PsyduckPicBack
; att... |
AsmToBFCompiler/assembly/test.asm | jgwest/asm-to-bf-compiler | 0 | 203166 | <reponame>jgwest/asm-to-bf-compiler
#define r_currMemPos r0
#define r_c r1
#define r_y r2
#define r_lastLoopPos r3
#define r_x r4
#define r_z r5
#define r_progVal r6
#define r_cmp r7
#define r_ZERO r8
#define r_ONE r9
PrintStmnt "Started:\n"
Load r_ZERO LABEL_ZERO
Load r_ONE LABEL_ON... |
examples/asm/mux128.asm | ptorru/reticle | 35 | 203167 | <reponame>ptorru/reticle<gh_stars>10-100
def main(c:bool, a:i128, b:i128) -> (y:i128) {
t0:i8 = ext[0, 7](a);
t1:i8 = ext[0, 7](b);
t2:i8 = lmux_i8(c, t0, t1) @lut(??, ??);
t3:i8 = ext[8, 15](a);
t4:i8 = ext[8, 15](b);
t5:i8 = lmux_i8(c, t3, t4) @lut(??, ??);
t6:i8 = ext[16, 23](a);
t7:i... |
a51test/(92)MOV_bit_C.a51 | Aimini/51cpu | 0 | 203168 | <filename>a51test/(92)MOV_bit_C.a51
MOV 0x20,#0xFE
MOV 0x24,#0xFD
MOV 0x2A,#0xFB
MOV 0x2F,#0xF7
MOV 0x80,#0xEF
MOV 0xE0,#0xDF
MOV 0xA8,#0xBF
MOV 0xF0,#0x7F
DB 0xA5
;;;;;;;;;;;;;;;;;;;0xFF
MOV 0xD0,#0x80
MOV 0x20.0,C
MOV 0x24.1,C
MOV 0x2A.2,C
MOV 0x2F.3,C
MOV 0x80.4,C
MOV 0xE0.5,C
MOV 0xA8.6,C
MOV 0xF0.7,C
;;;;... |
programs/oeis/230/A230402.asm | karttu/loda | 1 | 203170 | <gh_stars>1-10
; A230402: Integer areas of orthic triangles of integer-sided triangles.
; 1512,2688,6048,10752,13608,24192,37800,43008,54432,67200,74088,96768,122472,131712,151200,172032,182952,217728,255528,268800,296352,325248,340200,387072,436968,454272,489888,526848,545832,604800,666792,688128,731808,776832
add $0... |
src/sprites.asm | reineckm/c64MultiMan | 0 | 203173 | LDA #0 ; sprite multicolor 1
STA $D025
LDA #6 ; sprite multicolor 2
STA $D026
spritespace
sprite_1
!byte $00,$00,$00,$00,$00,$00,$00,$00
!byte $00,$00,$00,$00,$00,$00,$00,$00
!byte $00,$00,$00,$01,$00,$00,$15,$40
!byte $01,$77,$40,$01,$f7,$d0,$07,$fd
!byte $50,$07,$ff,$d0,$07,$ea,$90,$07
!byte $d9,$90,$1f,$99,$90,$1f,... |
oeis/138/A138188.asm | neoneye/loda-programs | 11 | 203174 | <filename>oeis/138/A138188.asm<gh_stars>10-100
; A138188: Expansion of (1 - 2*x - 2*x^2 - x^3)/(1 + x + x^2 - x^3 - x^4 - x^5).
; Submitted by <NAME>
; 1,-3,0,3,-5,0,5,-7,0,7,-9,0,9,-11,0,11,-13,0,13,-15,0,15,-17,0,17,-19,0,19,-21,0,21,-23,0,23,-25,0,25,-27,0,27,-29,0,29,-31,0,31,-33,0,33,-35,0,35,-37,0,37,-39,0,39,-41... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2_notsx.log_18024_1412.asm | ljhsiun2/medusa | 9 | 203176 | <filename>Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2_notsx.log_18024_1412.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x134d4, %r12
clflush (%r12)
add $11675, %rsi
movb $0x61, (%r12)
nop
nop
dec %rsi
lea a... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_1320.asm | ljhsiun2/medusa | 9 | 203177 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r9
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x44c2, %r13
nop
nop
nop
nop
and $61302, %r9
movb (%r13), %r12b
nop
nop
nop
nop
sub %rbx, %rbx
lea addresses_A_ht+0xa652, %rax
nop
nop
nop
nop
inc %rdi
movb (%rax), %... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_1866.asm | ljhsiun2/medusa | 9 | 203178 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x13d12, %rbx
nop
nop
and %r11, %r11
mov (%rbx), %r8d
nop
and %rbx, %rbx
lea addresses_D_ht+0x14b52, %rax
nop
nop
add %r14, %r14
vmovups (%rax), %ymm2
vextracti128 $1... |
Semester_4/ASK/sygnalizacja.asm | BeBa17/My_University | 0 | 203179 | $mod842
org 0
start:
mov P2, #0Ah ; czerwony czerwony
call delay
mov P2, #82h ; zielony czerwony
call delay
mov R0, #50
miganie:
mov P2, #82h ; zielony czerwony
shortDelay
mov P2, #02h ; - czerwony
shortDelay
djnz R0, miganie
mov P2, #0Ah ; czerwony czerwony
call delay
mov P2, #0Eh ; czerwony żółty+... |
nasm_experiments/fast.asm | dkozyr/brainfuck | 1 | 203180 | <reponame>dkozyr/brainfuck<gh_stars>1-10
global _start
section .bss
kMaxScriptLength equ 10 * 1000 * 1000
result resb 30 * 1000
script resb kMaxScriptLength
clean_script resb kMaxScriptLength
operand_size resq kMaxScriptLength
ptr_offset resq kMax... |
libsrc/graphics/abc80/clsgraph.asm | jpoikela/z88dk | 640 | 203181 | ;
; ABC80 Graphics Functions
;
; clg () -- clear screen and init graphics
;
; routine found in "grafik.asm"
; by <NAME> - 1986-03-13 22.58.30
;
; imported by <NAME> - 29/12/2006 :o)
;
;
; $Id: clsgraph.asm,v 1.4 2017-01-02 21:51:23 aralbrec Exp $
;
SECTION code_clib
PUBLIC cleargraph... |
programs/oeis/327/A327570.asm | neoneye/loda | 22 | 203183 | ; A327570: a(n) = n*phi(n)^2, phi = A000010.
; 1,2,12,16,80,24,252,128,324,160,1100,192,1872,504,960,1024,4352,648,6156,1280,3024,2200,11132,1536,10000,3744,8748,4032,22736,1920,27900,8192,13200,8704,20160,5184,47952,12312,22464,10240,65600,6048,75852,17600,25920,22264,99452,12288,86436,20000,52224,29952,143312,17496,8... |
mixergi/mcu/sine_wave_uart/source/HL_sys_core.asm | daeroro/IntegrationProject | 0 | 203184 | ;-------------------------------------------------------------------------------
; HL_sys_core.asm
;
; Copyright (C) 2009-2018 Texas Instruments Incorporated - www.ti.com
;
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following condition... |
programs/oeis/053/A053480.asm | neoneye/loda | 22 | 203186 | <filename>programs/oeis/053/A053480.asm
; A053480: Sum of values when cototient function A051953 is iterated until fixed point is reached.
; 1,3,4,7,6,13,8,15,13,23,12,27,14,29,23,31,18,45,20,47,34,49,24,55,31,55,40,59,30,79,32,63,47,79,47,91,38,85,62,95,42,121,44,99,79,101,48,111,57,129,71,111,54,145,78,119,91,137,60,... |
srcAmiga/modeler/lowlevel.asm | privatosan/RayStorm | 2 | 203188 | opt l+ ;Linkable code
opt c+ ;Case sensitive
opt d- ;No debugging information
opt m+ ;Expand macros in listing
opt o+ ;Optimisation on
;***************
;* PROGRAM: Modeler
;* NAME: lowlevel.asm
;* VERSION: 1.0 26.05.1995
;* DESCRIPTION: This module includes all the stuff which is written in... |
basics/hello-world.asm | A2nkF/assembler-foo | 3 | 203189 | <filename>basics/hello-world.asm
global start
section .text ; code goes here
start: ; entry point
push dword msg.len ; pushes the lenght of the message on the stack
push dword msg ; pushes the message itself on the stack
push dword 1
mov eax, 4
sub esp, 4
int 0x80 ; calls i... |
oeis/057/A057857.asm | neoneye/loda-programs | 11 | 203190 | ; A057857: Number of residue classes modulo n-th primorial number which contain a prime.
; Submitted by <NAME>(s2)
; 1,2,4,11,52,485,5766,92167,1658888,36495369,1021870090,30656102411,1103619686412,44144787456013,1854081073152014,85287729364992015,4434961926979584016,257227791764815872017,15433667505888952320018
mov $... |
libsrc/_DEVELOPMENT/adt/ba_priority_queue/z80/asm_ba_priority_queue_data.asm | jpoikela/z88dk | 640 | 203192 | <filename>libsrc/_DEVELOPMENT/adt/ba_priority_queue/z80/asm_ba_priority_queue_data.asm
; ===============================================================
; Mar 2014
; ===============================================================
;
; void *ba_priority_queue_data(ba_priority_queue_t *q)
;
; Return the address of the q... |
Library/Text/TextLine/tlCommonLineInfo.asm | steakknife/pcgeos | 504 | 203193 | <filename>Library/Text/TextLine/tlCommonLineInfo.asm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: tlCommonLineInfo.asm
AUTHOR: <NAME>, Dec 31, 1991
ROUTINES:
Name Description
----... |
boot loader/boot_sect.asm | Tomer2003/ro-os | 0 | 203196 |
[bits 16]
[org 0x7c00]
KERNEL_OFFSET equ 0x9500
mov [BOOT_STORAGE_DEVICE], dl
mov bp, 0x9000
mov sp, bp
call load_kernel
call switch_to_pm
;The function load kernel code that start from sector 2, to the memory that start from KERNEL_OFFSET
load_kernel:
mov bx, KERNEL_OFFSET
mov al, 50
mov dl, [BOOT_STORAGE_DEV... |
Kernel/asm/process.asm | BraveJero/bareOS | 0 | 203197 | GLOBAL init_process, _int20
init_process: ; uint64_t init_process(uint64_t stack_base, uint64_t rip, uint64_t argc, uint64_t argv);
push rbp
mov rbp, rsp
mov rsp, rdi
push 0x00
push rdi
push 0x202
push 0x8
push rsi
push rax
push rbx
push rcx
push rdx
push rbp
push rdx ; push a... |
Expt4/AscendingBB.asm | warrenferns/Microprocessor-MU-Sem4 | 1 | 203198 | .8086
.model small
.data
s1 db 10h, 12h, 08h, 02h, 04h, 0Ah, 0Dh, 06h, 14h, 15h
.code
start:
mov ax, @data
mov ds, ax
mov cl, 0Ah
mov ch, 0Ah
lea si, s1
back1: mov al, [si]
mov ah, [si+1]
cmp al, [si+1]
jnc back2
jc back3
back2: mov [si], ah
mov [si+1], al
back3: dec cl
... |
oeis/347/A347535.asm | neoneye/loda-programs | 11 | 203200 | ; A347535: Number of minimum dominating sets in the complete bipartite graph K_n,n.
; 2,6,9,16,25,36,49,64,81,100,121,144,169,196,225,256,289,324,361,400,441,484,529,576,625,676,729,784,841,900,961,1024,1089,1156,1225,1296,1369,1444,1521,1600,1681,1764,1849,1936,2025,2116,2209,2304,2401,2500
mov $1,$0
mul $1,$0
mov $2... |
programs/oeis/237/A237250.asm | karttu/loda | 0 | 203201 | <filename>programs/oeis/237/A237250.asm<gh_stars>0
; A237250: Values of x in the solutions to x^2 - 4xy + y^2 + 11 = 0, where 0 < x < y.
; 2,3,5,10,18,37,67,138,250,515,933,1922,3482,7173,12995,26770,48498,99907,180997,372858,675490,1391525,2520963,5193242,9408362,19381443,35112485,72332530,131041578,269948677,48905382... |
chapter7/Project8.asm | pcooksey/Assembly-x86-64 | 0 | 203203 | ;;;
;;; This is Suggested Project 7.9.2.8
;;; This is to find the square of sum from 1 to N
;;; Pg. 138 for the problem
;;; Pg. 24 for Registers; Pg. 48 for Data Types
SECTION .data
SUCCESS: equ 0 ; Default success value
SYS_EXIT: equ 60 ; Default system exit value
;; Variables used by the proj... |
lib.asm | BenG49/x86-asm | 0 | 203204 | section .text
global main
global putstr
global print_digits
global exit
global fib
global strlen
fib: ; max input of 46 before overflow stuff
mov ecx, eax ; move counter to ecx
xor ebx, ebx ; prev
mov eax, 1 ; current
_fib_loop:
; print number
push rax
push... |
examples/r61523/CompressedPixels.asm | AIHZP/andysworkshop-stm32plus | 607 | 203205 | <reponame>AIHZP/andysworkshop-stm32plus<gh_stars>100-1000
/*
* This file is a part of the open source stm32plus library.
* Copyright (c) 2011,2012 <NAME> <www.andybrown.me.uk>
* Please see website for licensing terms.
*/
.global BulbPixels
.global BulbPixelsSize
.global AudioPixels
.global AudioPixelsSize
... |
Borland/CBuilder5/Source/RTL/source/startup/c0ntds.asm | TrevorDArcyEvans/DivingMagpieSoftware | 1 | 203206 | ; C0NTDS.ASM - C run time library entry point for NT DLLs that use the
; SIMULATE_TLS routines.
;
; C/C++ Run Time Library - Version 10.0
;
; Copyright (c) 1999, 2000 by Inprise Corporation
; All Rights Reserved.
;
; $Revision: 9.0 $
DLL equ 1
SIMULATE_TLS equ 1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.