text stringlengths 1 1.05M |
|---|
db "POISON MOTH@" ; species name
db "It scatters its"
next "fine dust all over"
next "when is has been"
page "attacked. This"
next "#MON is "
next "nocturnal.@"
|
#importonce
//#import "macros.6502.asm"
//
// title: bbc micro constants
// author: dean belfield
// created: 29/10/2020
// last updated: 29/10/2020
//
// requires: macros
//
// modinfo:
//
.label oswrch = $ffee
.label osrdch = $ffe0
.label osbyte = $fff4
.label osword = $fff1
.label screen = $3000
.label ... |
_wc: file format elf32-i386
Disassembly of section .text:
00000000 <wc>:
char buf[512];
void
wc(int fd, char *name)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 48 sub $0x48,%esp
int i, n;
int l, w, c, inword;
l = w = c = 0;
6: c7... |
[bits 16]
switch_to_pm:
cli ;Clear interrupts
lgdt [gdt_descriptor] ;Let it know where the GDT is located
mov eax, cr0 ;To make the switch to protected mode,
or eax, 0x1 ;We set the first bit of cr0, a control register
mov cr0, eax ;Now, we update the control regist... |
; A159465: Sums of odd numbers, omitting squares.
; 3,8,15,26,39,54,71,90,111,134,161,190,221,254,289,326,365,406,449,494,541,592,645,700,757,816,877,940,1005,1072,1141,1212,1285,1360,1437,1516,1599,1684,1771,1860,1951,2044,2139,2236,2335,2436,2539,2644,2751,2860,2971,3084,3199,3316,3435,3558,3683,3810,3939,4070,4203,4... |
<%
from pwnlib.shellcraft.i386.linux import syscall
%>
<%page args="set"/>
<%docstring>
Invokes the syscall sigpending. See 'man 2 sigpending' for more information.
Arguments:
set(sigset_t): set
</%docstring>
${syscall('SYS_sigpending', set)}
|
/*
*
* Copyright 2015 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1993 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: PostScript driver
FILE: qmsColorScriptf35Info.asm
AUTHOR: Jens-Michael Gross, 2 February 2001
REVISION HISTORY:
Name Date Descriptio... |
;*****************************************************************************
;* x86inc.asm: x264asm abstraction layer
;*****************************************************************************
;* Copyright (C) 2005-2016 x264 project
;*
;* Authors: Loren Merritt <lorenm@u.washington.edu>
;* Anton Mitrofan... |
;Shellcode size : 83 bytes
global _start
_start:
xor eax, eax ;Initialize eax to NULL
push eax ;Push NULL on the stack
push 0x65636170
push 0x735f6176
push 0x5f657a69
push 0x6d6f646e
push 0x61722f6c
push 0x656e7265
push 0x6b2f7379
push 0x732f636f
push 0x727... |
org 0
incbin screen.scr
|
tuple struct
SDA dd 0
SDB dd 0
SDC dd 0
tuple ends |
<%
from pwnlib.shellcraft.thumb.linux import syscall
%>
<%page args="seconds"/>
<%docstring>
Invokes the syscall alarm. See 'man 2 alarm' for more information.
Arguments:
seconds(unsigned): seconds
</%docstring>
${syscall('SYS_alarm', seconds)}
|
#include "std_incl.h"
#include "QueuedTracker.h"
#include "BeadFinder.h"
#include "ResultManager.h"
#ifdef CUDA_TRACK
QueuedTracker* CreateCUDATracker(QTrkSettings* cfg);
#else
QueuedTracker* CreateCPUTracker(QTrkSettings* cfg);
#endif
CDLL_EXPORT void DLL_CALLCONV TestDLLCallConv(int a)
{
}
CDLL_EXPORT void DLL_CA... |
SECTION code_driver
SECTION code_driver_terminal_input
PUBLIC zx_01_input_lastk_proc_lastk_address
PUBLIC zx_01_input_lastk_proc_lastk
EXTERN l_offset_ix_de
zx_01_input_lastk_proc_lastk_address:
; return & LASTK
ld hl,25
jp l_offset_ix_de ; hl = & LASTK
zx_01_input_lastk_proc_lastk:
; r... |
; Z88 Small C+ Run Time Library
; Long functions
;
SECTION code_crt0_sccz80
PUBLIC l_long_lt
EXTERN l_long_cmp
;
;......logical operations: HL set to 0 (false) or 1 (true)
;
; DE < HL [signed]
.l_long_lt
call l_long_cmp
ret ... |
; A070723: n^7 mod 43.
; 0,1,42,37,1,37,6,7,42,36,6,1,37,36,36,36,1,36,7,37,37,1,42,6,6,36,7,42,7,7,7,6,42,37,7,1,36,37,6,42,6,1,42,0,1,42,37,1,37,6,7,42,36,6,1,37,36,36,36,1,36,7,37,37,1,42,6,6,36,7,42,7,7,7,6,42,37,7,1,36,37,6
pow $0,7
mod $0,43
|
/*************************************************************************/
/* joystick_osx.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
; A098219: a(n) = floor(sigma(sigma(n))/n) = floor(A051027(n)/n).
; Submitted by Jamie Morken(s4)
; 1,2,2,2,2,4,2,3,1,3,2,4,1,4,4,2,2,3,2,4,3,4,2,7,1,3,3,4,2,6,2,3,3,3,3,3,1,4,3,5,2,6,1,5,3,4,2,4,1,2,3,3,2,6,3,6,3,4,2,8,1,4,3,2,3,6,1,4,3,5,2,4,1,3,2,4,3,6,2,4,1,3,2,6,3,3,4,6,2,6,2,5,2,4,3,7,1,2,3,2
mov $2,1
add $2,$0
... |
; A098391: Log2(Log2(prime(n))), where Log2=A000523.
; 0,0,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3
div $0,2
mul $0,27
add $0,1
log $0,9
mov $1,$0
|
SECTION code_fp_math32
PUBLIC log_fastcall
EXTERN _m32_logf
defc log_fastcall = _m32_logf
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _log_fastcall
defc _log_fastcall = log_fastcall
ENDIF
|
; void wv_stack_destroy(wv_stack_t *s)
SECTION code_adt_wv_stack
PUBLIC wv_stack_destroy
defc wv_stack_destroy = asm_wv_stack_destroy
INCLUDE "adt/wv_stack/z80/asm_wv_stack_destroy.asm"
|
/// @file
/// @brief Contains Switch::System::Text::Encoding class.
#pragma once
#include "../../Types.hpp"
#include "../../Abstract.hpp"
#include "../../RefPtr.hpp"
#include "../Array.hpp"
#include "../Object.hpp"
#include "../String.hpp"
#include "../Collections/Generic/Dictionary.hpp"
/// @brief The Switch namespa... |
_nice: formato del fichero elf32-i386
Desensamblado de la sección .text:
00000000 <main>:
#include "user.h"
#include "fcntl.h"
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 pushl -0x4(%ecx)
... |
SECTION TEXT
C_INPUT LETRA
LOAD CONT
LOOP: C_OUTPUT LETRA
SUB UM
JMPP LOOP
STOP
SECTION DATA
CONT: CONST 10
UM: CONST 1
LETRA: CONST 61h |
; A112691: a(n) = J(n+1) mod J(n), J(n)=A001045(n).
; 1,0,0,2,1,10,1,42,1,170,1,682,1,2730,1,10922,1,43690,1,174762,1,699050,1,2796202,1,11184810,1,44739242,1,178956970,1,715827882,1,2863311530,1,11453246122,1,45812984490,1,183251937962,1,733007751850,1,2932031007402,1,11728124029610,1,46912496118442,1,187649984473770,... |
//===-- AdbClientTest.cpp -------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... |
; A017255: a(n) = (9*n + 7)^11.
; 1977326743,17592186044416,2384185791015625,70188843638032384,929293739471222707,7516865509350965248,43513917611435838661,197732674300000000000,747993810527520928879,2450808588882738675712,7153014030880804126753,18982985583354248390656,46523913960640966796875,106570876280498368282624,23... |
/// @file
/// @author David Pilger <dpilger26@gmail.com>
/// [GitHub Repository](https://github.com/dpilger26/NumCpp)
/// @version 1.1
///
/// @section License
/// Copyright 2019 David Pilger
///
/// Permission is hereby granted, free of charge, to any person obtaining a copy of this
/// software and associate... |
; CALLER linkage for function pointers
PUBLIC HeapInfo
EXTERN MAHeapInfo
.HeapInfo
pop af
pop hl
push af
call MAHeapInfo
pop af
pop hl
ld (hl),c
inc hl
ld (hl),b
pop hl
ld (hl),e
inc hl
ld (hl),d
push hl
push hl
push hl
push af
ret
|
;========================================================
COMMENT #
GETEMM.ASM
Copyright (c) 1991 - Microsoft Corp.
All rights reserved.
Microsoft Confidential
=================================================
Function returns the EMM386 version number if it's present else 0
unsigned GetEmmVersion( void )... |
; A242985: a(n) = 4^n + 2^(n+1).
; 3,8,24,80,288,1088,4224,16640,66048,263168,1050624,4198400,16785408,67125248,268468224,1073807360,4295098368,17180131328,68720001024,274878955520,1099513724928,4398050705408,17592194433024,70368760954880,281475010265088,1125899973951488,4503599761588224
mov $1,2
pow $1,$0
add $1,1
po... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: File Manager Tools
MODULE: 1.X VM File Conversion
FILE: convertManager.asm
AUTHOR: Adam de Boor, Aug 26, 1992
ROUTINES:
Name Description
---- -----------
... |
DEVICE ZXSPECTRUMNEXT : SLOT 7 : LABELSLIST "incbin80k.lbl"
; incbin80k.bin is from offset 2 letters 'a' to 't' with linux newlines (byte 10)
; for each letter, there's 80 of them + newline, repeated 51 times
; such one letter block = 51*81 = 4131 bytes (just over 4ki), there's 20 letters
; = 82620 ... |
; A306752: a(n) = Sum_{k=0..n} binomial(k, 8*(n-k)).
; 1,1,1,1,1,1,1,1,1,2,10,46,166,496,1288,3004,6436,12871,24312,43776,75736,126940,208336,340120,564928,980629,1817047,3605252,7531836,16146326,34716826,73737316,153430156,311652271,617594122,1195477615,2266064352,4221317464,7763706592,14176362408,25864024384,47458155... |
@111
D=A
@SP
A=M
M=D
@SP
M=M+1
@333
D=A
@SP
A=M
M=D
@SP
M=M+1
@888
D=A
@SP
A=M
M=D
@SP
M=M+1
@SP
M=M-1
@SP
A=M
D=M
@StaticTest.8
M=D
@SP
M=M-1
@SP
A=M
D=M
@StaticTest.3
M=D
@SP
M=M-1
@SP
A=M
D=M
@StaticTest.1
M=D
@StaticTest.3
D=M
@SP
A=M
M=D
@SP
M=M+1
@StaticTest.1
D=M
@SP
A=M
M=D
@SP
M=M+1
@SP
M=M-1
@SP
A=M
D=M
@SP
M... |
global _start
section .text
_start:
;fork
xor eax,eax
shl eax,5
shr eax,6
mov al,0x2
int 0x80
xor ebx,ebx
cmp eax,ebx
jz child
;wait(NULL)
xor eax,eax
cmp esi,edi
mov al,0x7
int 0x80
;chmod x
xor ecx,ecx
cld
xor eax, eax
push eax... |
; A312927: Coordination sequence Gal.6.149.5 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,4,9,13,18,22,26,30,35,39,44,48,52,57,61,66,70,74,78,83,87,92,96,100,105,109,114,118,122,126,131,135,140,144,148,153,157,162,166,170,174,17... |
/*
* BillboardDrawableInstanceBuilderGLES.cpp
* WhirlyGlobeLib
*
* Created by Steve Gifford on 5/15/19.
* Copyright 2011-2019 mousebird consulting
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a cop... |
section .text
global cro_asm_init, cro_asm_switch
cro_asm_start:
; Pre: rbx = fiber_fn:cro::FiberFn*, rdi = root_fn:cro_RootFn*, rsi = arg:void*
; Patch callstack
mov rbp, rax
; Move arguments into Win64 convention
mov rcx, rbx
mov rdx, rsi
; Allocate shadow space
sub rsp, 32
; C... |
[GLOBAL load_gdt] ;call load_gdt in c code
load_gdt:
mov eax,[esp+4] ;get the pointer to the gdt
lgdt [eax] ;load new gdt pointer
mov ax,0x10 ;0x10 is address of second descriptor[kernel data segment] (Loading the segment selector registers is easy for the data registers)
;load all data segment selectrors
mov... |
PUBLIC RetSpoofStub
.code
RetSpoofStub PROC
pop r11
add rsp, 8
mov rax, [rsp + 24]
mov r10, [rax]
mov[rsp], r10
mov r10, [rax + 8]
mov[rax + 8], r11
mov[rax + 16], rdi
lea rdi, fixup
mov[rax], rdi
mov rdi, rax
jmp r10
fixup :
sub rsp, 16
mov rcx, rdi
mov rdi, [rcx + 16]
jmp QWORD PTR[rc... |
; this file is part of the C64 Emulator Test Suite. public domain, no copyright
; x/y - pointer to register dump
showregs
.block
stx 172
sty 173
ldy #0
lda (172),y
jsr printhb
lda #32
jsr cbmk_bsout
lda #32
jsr cbmk_bsout... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution... |
dw 1157
dw 1292
dw 1462
dw 1685
dw 1987
dw 2422
dw 3099
dw 4303
|
//atm.cpp
#include "atm.h"
void ATM::display_balance()const
{
std::cout<<"Balance: "<<account<<"\n";
}
void ATM::make_deposit()
{
int amount;
std::cout<<"\nEnter deposit amount: ";
std::cin>>amount;
account.deposit(amount);
}
void ATM::make_withdraw()
{
int amount;
std::cout<<"\nEnter wi... |
; A021571: Decimal expansion of 1/567.
; 0,0,1,7,6,3,6,6,8,4,3,0,3,3,5,0,9,7,0,0,1,7,6,3,6,6,8,4,3,0,3,3,5,0,9,7,0,0,1,7,6,3,6,6,8,4,3,0,3,3,5,0,9,7,0,0,1,7,6,3,6,6,8,4,3,0,3,3,5,0,9,7,0,0,1,7,6,3,6,6,8,4,3,0,3,3,5,0,9,7,0,0,1,7,6,3,6,6,8
add $0,1
mov $1,10
pow $1,$0
mul $1,8
div $1,4536
mod $1,10
mov $0,$1
|
/********************* */
/*! \file node_manager.cpp
** \verbatim
** Top contributors (to current version):
** Morgan Deters, Tim King, Andrew Reynolds
** This file is part of the CVC4 project.
** Copyright (c) 2009-2016 by the authors listed in the file AUT... |
#include <filesystem>
#include <string>
#include <fmt/core.h>
#include <spdlog/spdlog.h>
#include <SDL2/SDL.h>
#include <SDL2/SDL_ttf.h>
int main(int, char* argv[])
{
const std::string progname{std::filesystem::path{argv[0]}.filename().string()};
if (SDL_Init(SDL_INIT_VIDEO) < 0) {
spdlog::critical("... |
; A059830: a(n) = n^6 + n^4 + n^2 + 1.
; 1,4,85,820,4369,16276,47989,120100,266305,538084,1010101,1786324,3006865,4855540,7568149,11441476,16843009,24221380,34117525,47176564,64160401,85961044,113614645,148316260,191435329,244531876,309373429,387952660,482505745,595531444,729810901,888428164,1074791425,1292654980,15461... |
//////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2004-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/libs/i... |
; A331801: Integers that are sum of two nonsquarefree numbers.
; 8,12,13,16,17,18,20,21,22,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85
mov $2,$0
mul $0,2
lpb $0
add $0,1
div... |
; all 1802 opcodes
IDL ; 00 wait for interrupt or DMA
LDN R1 ; 01 D = M(R1)
LDN R2 ; 02 D = M(R2)
LDN R3 ; 03 D = M(R3)
LDN R4 ; 04 D = M(R4)
LDN R5 ; 05 D = M(R5)
LDN R6 ; 06 D = M(R6)
LDN R7 ; 07 D = M(R7)
LDN R8 ; 08 D = M(R8)
LDN R9 ; 09 D = M(R9)
LDN RA ; 0A D = M(RA)
LDN RB ; 0B D = M(RB)
LDN RC ; ... |
#ifndef RENDERBOI__TOOLBOX__MESH_GENERATORS__CUBE_GENERATOR_HPP
#define RENDERBOI__TOOLBOX__MESH_GENERATORS__CUBE_GENERATOR_HPP
#include <glm/glm.hpp>
#include <renderboi/core/mesh.hpp>
#include "../interfaces/mesh_generator.hpp"
namespace Renderboi
{
/// @brief Generates vertices for a multi- or single-colored cu... |
;; @file
; Serial port debug support macros.
;
; Copyright (c) 2008 - 2016, Intel Corporation. All rights reserved.<BR>
;
; 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... |
;
; jquantf.asm - sample data conversion and quantization (SSE & SSE2)
;
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
;
; Based on
; x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice in jsimdext.inc
;
; T... |
;==================================================================================================
; Global variable storage for new code
;==================================================================================================
; Stores the item and player to give to
PLAYER_OVERRIDE_DATA:
.word 0x00000000, ... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2017 Intel Corporation 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 so... |
/**
* Copyright 2020 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Microsoft Research Singularity
;;;
;;; Copyright (c) Microsoft Corporation. All rights reserved.
;;;
;;; This file contains ARM-specific assembly code.
;;;
; __stoi single precision floating point to ... |
; battle_anim_struct members (see macros/wram.asm)
const_def
const BATTLEANIMSTRUCT_INDEX
const BATTLEANIMSTRUCT_01
const BATTLEANIMSTRUCT_02
const BATTLEANIMSTRUCT_FRAMESET_ID
const BATTLEANIMSTRUCT_FUNCTION
const BATTLEANIMSTRUCT_PALETTE
const BATTLEANIMSTRUCT_TILEID
const BATTLEANIMSTRUCT_XCOORD
const BATT... |
_rm: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
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 pushl -0x4(%ecx)
a: 55 ... |
;******************************************************************************
;
; Virus name : Andropinis
; Author : Rajaat
; Origin : United Kingdom, March 1995
; Compiling : Using TASM | Using A86
; |
; TASM /M2 ANDROPIN.ASM | A86... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2016 Intel Corporation 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 so... |
;filaSense.asm V0.7 201007 qrt@qland.de
;
;ATTINY13 - - - - - - - - - - - - - - - - - - - - - - - - - -
;fuse bits 43210 high
;SELFPRGEN 1|||| (default off)
;DWEN 1||| (default off)
;BODLEVEL1..0 11| (default off) (drains power in sleep mode)
;RSTDISBL 1 (default off)
; ... |
; A290995: p-INVERT of (1,1,1,1,1,...), where p(S) = 1 - S^8.
; 0,0,0,0,0,0,0,1,8,36,120,330,792,1716,3432,6436,11456,19584,32640,54264,93024,170544,341088,735472,1653632,3749760,8386560,18289440,38724480,79594560,159189120,311058496,597137408,1133991936,2147450880,4089171840,7887416832,15483906816,30967813632,62929006... |
; A173155: a(n) = binomial(n + 5, 5) * 8^n.
; 1,48,1344,28672,516096,8257536,121110528,1660944384,21592276992,268703891456,3224446697472,37520834297856,425236122042368,4710307813392384,51140484831117312,545498504865251328,5727734301085138944,59298896293587320832,606166495445559279616,6125471953976177983488,612547195397... |
; A348720: Decimal expansion of 4*cos(2*Pi/13)*cos(3*Pi/13).
; Submitted by Jamie Morken(s3)
; 2,6,5,1,0,9,3,4,0,8,9,3,7,1,7,5,3,0,6,2,5,3,2,4,0,3,3,7,7,8,7,6,1,5,4,0,3,1,3,2,4,4,1,0,7,5,7,0,5,5,9,6,6,8,4,0,1,8,7,6,7,7,9,0,3,2,7,6,0,4,2,1,7,4,7,5,0,8,4,2,5,0,5,6,2,1,0,8,9,6,3,9,2,4,0,9,8,3,3,9
mov $2,1
mov $3,$0
mul $... |
global 0 "Hello world.\n\0"
mov $0, 0
print_loop:
mov $1, [$0]
jz $1, break_print
out $1
add $0, 1
jmp print_loop
break_print:
|
/***********************************************************************************************************************
**
** Copyright (c) 2011, 2015 ETH Zurich
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
** following c... |
include ksamd64.inc
EXTERNDEF ?Te@rdtable@CryptoPP@@3PA_KA:FAR
EXTERNDEF ?g_cacheLineSize@CryptoPP@@3IA:FAR
EXTERNDEF ?SHA256_K@CryptoPP@@3QBIB:FAR
.CODE
ALIGN 8
Baseline_Add PROC
lea rdx, [rdx+8*rcx]
lea r8, [r8+8*rcx]
lea r9, [r9+8*rcx]
neg rcx ; rcx is negative index
jz $1@Baseline_Add
mov rax... |
###############################################################################
# Copyright 2018 Intel Corporation
# All Rights Reserved.
#
# If this software was obtained under the Intel Simplified Software License,
# the following terms apply:
#
# The source code, information and material ("Material") containe... |
/**
* @file
* @brief Spell casting and miscast functions.
**/
#include "AppHdr.h"
#include "spl-cast.h"
#include <iomanip>
#include <sstream>
#include <cmath>
#include "areas.h"
#include "art-enum.h"
#include "beam.h"
#include "chardump.h"
#include "colour.h"
#include "database.h"
#include "describe.h"
#include "... |
define LEAF_HEADER 0
define LEAF_HEADER_IDENT 0 ; 5 bytes
define LEAF_IDENT 0 ; start
define LEAF_IDENT_MAG0 0 ; $7F
define LEAF_IDENT_MAG1 1 ; 'L'
define LEAF_IDENT_MAG2 2 ; 'E'
define LEAF_IDENT_MAG3 3 ; 'A'
define LEAF_IDENT_MAG4 4 ; 'F'
define LEAF_HEADER_TYPE 5 ; 1 byte, LT_EXEC
define LEAF_HEADER_MACHINE 6... |
_time: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#ifdef CS333_P2
#include "types.h"
#include "user.h"
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 pushl -0x4(%ecx)... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xa3dd, %r15
nop
sub $52909, %r11
vmovups (%r15), %ymm3
vextracti128 $0, %ymm3, %xmm3
vpextrq $1, %xmm3, %rbp
nop
nop
nop
nop
xor %r8, %r8
lea addresses_normal_ht+0x1... |
/*
* Copyright (c) 2017, 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 rights to use, copy, modify, merge, publi... |
0D00 DD 21 80 0E
0D04 FD 21 00 0E
0D08 0E 10
0D0A DD 46 00
0D0D FD 70 00
0D10 DD 23
0D12 FD 23
0D14 0D
0D15 C2 0A 0D
0D18 DF 5B
|
.code64
.extern scheduler_nextThreadData
.extern scheduler_selectNext
.extern scheduler_sendEOI
.global scheduler_HandleInterrupt
scheduler_HandleInterrupt:
#save rdi and then rax to give us some scratch registers
push %rdi
mov scheduler_nextThreadData, %rdi
#check if current thread needs its regist... |
/* easy: C++ ESOP library
* Copyright (C) 2018 EPFL
*
* 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 rights to use,
* copy, mo... |
// A simple HDMAEN latch test
//
// Copyright (c) 2019, Marcus Rowe <undisbeliever@gmail.com>.
// Distributed under The MIT License: https://opensource.org/licenses/MIT
define MEMORY_MAP = LOROM
define ROM_SIZE = 1
define ROM_SPEED = fast
define REGION = Japan
define ROM_NAME = "HDMAEN LATCH TEST 2"
define VERSION = ... |
// Copyright 2016 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "core/fpdfdoc/cpdf_nametree.h"
#include <utility>
#include <vector>
... |
; ******************************************************************************
; ******************************************************************************
;
; Name: personality_io.asm
; Purpose: Personality Common I/O Routines
; Date: 22nd July 2019
; Author: Paul Robson
;
; ****************************... |
/* /////////////////////////////////////////////////////////////////////////
* File: winstl/filesystem/directory_functions.hpp (originally MLFlMan.h, ::SynesisStd)
*
* Purpose: Functions for manipulating directories.
*
* Created: 7th February 2002
* Updated: 26th February 2011
*
* Hom... |
;nanobeep2
;tiny ZX Spectrum beeper engine
;by utz 08'2017 * www.irrlichtproject.de
org #8000
borderMasking equ 0
fullKeyboardCheck equ 0
useDrum equ 1
loopToStart equ 1
usePatternSpeed equ 0
pwmSweep equ 1
usePrescaling equ 1
include "equates.h"
;new tiny engine: 64-99 bytes
;fullKeyboardCheck +1 bytes
;borderM... |
//=========================================================================
// Copyright (C) 2012 The Elastos Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... |
TITLE sha512-586.asm
IF @Version LT 800
ECHO MASM version 8.00 or later is strongly recommended.
ENDIF
.686
.XMM
IF @Version LT 800
XMMWORD STRUCT 16
DQ 2 dup (?)
XMMWORD ENDS
ENDIF
.MODEL FLAT
OPTION DOTNAME
IF @Version LT 800
.text$ SEGMENT PAGE 'CODE'
ELSE
.text$ SEGMENT ALIGN(64) 'CODE'
ENDIF
;EXTERN _OPENSSL_ia32... |
/**************************************************************************************/
/* */
/* Visualization Library */
/* http://visualizationlibrary.org ... |
; A245338: Sum of digits of n written in fractional base 9/8.
; 0,1,2,3,4,5,6,7,8,8,9,10,11,12,13,14,15,16,15,16,17,18,19,20,21,22,23,21,22,23,24,25,26,27,28,29,26,27,28,29,30,31,32,33,34,30,31,32,33,34,35,36,37,38,33,34,35,36,37,38,39,40,41,35,36,37,38,39
mov $1,$0
div $1,9
lpb $1
sub $0,$1
sub $1,1
lpe
|
_Init_Ext_Int1:
;MPU_IMU_PIC32_v001.c,51 :: void Init_Ext_Int1(){
;MPU_IMU_PIC32_v001.c,53 :: INTCONSET = 0x0006; // Setzen Polaritat auf Rising Edge in IntCon Register mit bits 1 & 2 auf 1 --> 0b00000000 00000000 00000000 00000110
ORI R2, R0, 6
SW R2, Offset(INTCONSET+0)(GP)
;MPU_IMU_PIC32_v001.c,5... |
/*
* Copyright (C) 2020 Codership Oy <info@codership.com>
*
* This file is part of wsrep-lib.
*
* Wsrep-lib is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at you... |
// Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... |
/********************************************************************************
* Copyright 2009 The Robotics Group, The Maersk Mc-Kinney Moller Institute,
* Faculty of Engineering, University of Southern Denmark
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file exce... |
; A071374: 0 iff n is of the form 4^a*(8k+7), otherwise 1.
; 1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,0,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,0,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,0,1,1,0,1,1,1
lpb $0
dif $0,4
lpe
bin $0,3
bin $0,3
gcd $0,2
sub $0,1
|
; A163433: Number of different fixed (possibly) disconnected trominoes bounded tightly by an n X n square.
; 0,4,22,52,94,148,214,292,382,484,598,724,862,1012,1174,1348,1534,1732,1942,2164,2398,2644,2902,3172,3454,3748,4054,4372,4702,5044,5398,5764,6142,6532,6934,7348,7774,8212,8662,9124,9598,10084,10582,11092,11614,12... |
; *********************************************************************************
; *********************************************************************************
;
; File: xpage.asm
; Purpose: Cross Page Calling code.
; Date : 21st December 2018
; Author: paul@robsons.org.uk
;
; **************************... |
; A075861: Least k such that (n-k) divides (n+k).
; 1,1,2,3,2,5,4,3,5,9,4,11,7,5,8,15,6,17,10,7,11,21,8,15,13,9,14,27,10,29,16,11,17,21,12,35,19,13,20,39,14,41,22,15,23,45,16,35,25,17,26,51,18,33,28,19,29,57,20,59,31,21,32,39,22,65,34,23,35,69,24,71,37,25,38,55,26,77,40,27,41,81,28,51,43,29,44,87,30,65,46,31,47,57,32,9... |
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... |
; A146083: Expansion of 1/(1 - x*(1 - 11*x)).
; 1,1,-10,-21,89,320,-659,-4179,3070,49039,15269,-524160,-692119,5073641,12686950,-43123101,-182679551,291674560,2301149621,-907270539,-26219916370,-16239940441,272179139629,450818484480,-2543152051439,-7502155380719,20472517185110,102996226373019,-122201462663191,-12551599... |
###############################################################################
# Copyright 2019 Intel Corporation
# All Rights Reserved.
#
# If this software was obtained under the Intel Simplified Software License,
# the following terms apply:
#
# The source code, information and material ("Material") containe... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.